prepend
Prepends new items generated by rendering the given data items with the listview template to the top of the listview.
Parameters
dataItems Array
<div data-role="view">
Add item
<ul id="listview" data-role="listview" data-template="foo">
</ul>
</div>
<script type="text/x-kendo-template" id="foo">
Item #: idx #
</script>
<script>
var i = 0;
function addItem() {
i ++;
$("#listview").data("kendoMobileListView").prepend([ { idx: i } ]);
}
new kendo.mobile.Application();
</script>