Edit this page

dataSource kendo.data.DataSource | Object

Instance of DataSource or the data that the mobile ListView will be bound to.

Example

<div data-role="view">
  <ul data-role="listview" data-source="foo" 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] });

new kendo.mobile.Application();
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy