I am currently studying jQuery Mobile to develop a mobile version of a dashboard with tracking information. And what is a plan, is to use a simple unordered list with all orders, and people can click on the link that they want to know more about. Since this list can become quite large, itβs nice to have filtering that is easy to work with jQuery Mobile.
Just something like this:
<ul data-role="listview" data-filter="true"> <li><a href="#">Item 1</a></li> <li><a href="#">Item 2</a></li> <li><a href="#">Item 3</a></li> <li><a href="#">Item 4</a></li> </ul>
data-filter="true"
takes care of displaying the search bar, and actually it works very well.
But my only problem is that when nothing is found, it simply does not display anything, and I would like there to be a little text that said something like "Sorry, no orders were found."
Does anyone know if this is possible using jQuery Mobile, or is it something that needs to be encoded from scratch?
source share