Hi,
This should help:
http://view.jquerymobile.com/1.2.0/do...
On page show (for static mobilelist) or on complete service (for mobilelist generated from Rest service response) add the following JavaScript code:
codeTiggzi("mobilelistName").listview({
autodividers: true,
// the selector function is passed a <li> element from the listview;
// it should return the appropriate divider text for that <li>
// element as a string
autodividersSelector: function ( li ) {
var liText = li.text();/* get text of li /
var out = .............../ generate a string based on the content of liText */
return out;
}
}).listview('refresh');
/code
Replace codevar out = .............../codewith the line you need.