Hi,
I have defined a ListView declaritively like this:
<ul data-role="listview" data-bind="source: myDataSource" data-template="myTemplate" data-bound="displayEmptyText" data-endless-scroll="true">
</ul>
The displayEmptyText function checks the number of data items in the DataSource and displays "No items available" if there are 0 items. This works when I set endless-scroll to false but doesn't fire the event when endless-scroll is true.
Is this going to be fixed in a coming release? Is there a better way to achieve the display of the "No items available" message?
Cheers
Dean
I have defined a ListView declaritively like this:
<ul data-role="listview" data-bind="source: myDataSource" data-template="myTemplate" data-bound="displayEmptyText" data-endless-scroll="true">
</ul>
The displayEmptyText function checks the number of data items in the DataSource and displays "No items available" if there are 0 items. This works when I set endless-scroll to false but doesn't fire the event when endless-scroll is true.
Is this going to be fixed in a coming release? Is there a better way to achieve the display of the "No items available" message?
Cheers
Dean