JQM List Filter


#1

Hi guys,

I am looking to use the filterablebeforefilter option for JQM. Has anyone used it before?

http://demos.jquerymobile.com/1.4.0/listview-autocomplete-remote/

Thanks!

Chris


#2

Just did a quick test. It seems to work OK.

  • set the ‘filterable’ property to true.
  • the filterablebeforefilter event will be called as each key is entered.

BASIC:

Function List1_onfilterablebeforefilter()
  console.log("filterablebeforefilter")
End Function

JavaScript:

List1.onfilterablebeforefilter = function() {
    console.log("filterablebeforefilter");
};