autoBind Boolean
(default: true)
Indicates whether the listview will call read on the DataSource initially. If set to false, the listview will be bound after the DataSource instance fetch
method is called.
<div data-role="view">
Fetch Data
<ul data-role="listview" data-source="foo" data-auto-bind="false" data-template="foo-template">
</ul>
</div>
<script type="text/x-kendo-template" id="foo-template">
#: data #
</script>
<script>
var foo = new kendo.data.DataSource({
data: [ 1, 2, 3, 4, 5]
});
function fetchData() {
foo.fetch();
}
new kendo.mobile.Application();
</script>