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
Description
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 commentedon Dec 12, 2011
Mind adding a link to this the feature request wiki?