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.

Events for listview filtering starting/stopping #3163

Closed
@offsky

Description

@offsky

It would be really handy to have events triggered when a listview filter starts and when it is canceled. This way we can update our UI to reflect that the list is or isn't being filtered. I know that there are workarounds for this, such as having a high-frequency timer checking the state of the list, or biding to the keyup event of input box with a slight delay to allow JQM to finish the filter, but it would be nice to have a more elegant solution. Something like:

$( '#myList' ).live( 'filterStart',function(event,listview){
  alert( 'This listview just got filtered' );
});
$( '#myList' ).live( 'filterEnd',function(event,listview){
  alert( 'This listview filter was just canceled' );
});

Activity

toddparker

toddparker commented on Dec 12, 2011

@toddparker
Contributor

Mind adding a link to this the feature request wiki?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @toddparker@offsky

        Issue actions

          Events for listview filtering starting/stopping · Issue #3163 · jquery-archive/jquery-mobile