jQuery Mobile - Listview Autocomplete



The Filterable widget is used to create an autocomplete widget backed by local or remote data.

Following table demonstrates the types of listview autocomplete in detail.

Sr.No. Type & Description
1 Remote data

filterablebeforefilter event is used for remote autocomplete data source.

2 Local data

Add the data-filter-reveal = "true" attribute to the hide the list item. This helps to build a simple autocomplete with local data.

3 Providing richer search content

Add data-filtertext attribute in the particular list item to find against different content.

jquery_mobile_widgets.htm
Advertisements