dataItems

Returns the array of data items that the widget is bound to.

Returns

kendo.data.ObservableArray The array of items that the ListView is bound to.

Example

<div id ="listView"></div>
<script>
  var dataSource = new kendo.data.DataSource({
    data: [ { name: "Jane Doe" }, { name: "John Doe" }]
  });
  var listview = $("#listView").kendoListView({
    dataSource: dataSource,
    template: "<div>#:name#</div>"
  }).data("kendoListView")
  console.log(listview.dataItems()) //will output the bound array
</script>
In this article
Not finding the help you need?