Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Listview: Expose method facilitating arbitary list item filtering  #5930

Closed
@dueckes

Description

@dueckes

The filter capabilities bundled within Listview's are particularly useful.

However, should I wish to filter by a different control, such as a radio group intended to filter the list based on the state of an attribute of a list item, my task becomes significantly harder.

The likely best solution at this point is to duplicate much of the functionality in listview.filter.js (which takes care of hiding dividers, etc).

It would be great to see a method exposed accepting a callback for each list item that facilitates arbitrary filtering, e.g.

$("#my-list-view").filterBy(function (item) { // true hides item });

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions