Removing icon from listview
Hey,
i tried to find s.th. to remove the arrow icon from a generated list.
I create the list during the runtime in this function:
- html_items += '<li id="staffing" data-role="list-divider">Category</li>';
for (var i = 1; i <= 14; i++){
html_items += '<li><h3><a id="category'+i+'">Category '+i+'</a></h3></li>';
}
this._list_staffing.append(html_items);
After that i tried to refresh the list
- this._list_staffing.listview('refresh');
this._list_staffing.children().removeClass('ui-btn-icon-right');
I know removing the class is a dirty hack but i tried it with data-icon="false" and it didn't work out.
Is there anybody having the same issue or a fix to that?
TIA,
Yoggl