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

Returns The array of items that the ListView is bound to.


<div id ="listView"></div>
  var dataSource = new{
    data: [ { name: "Jane Doe" }, { name: "John Doe" }]
  var listview = $("#listView").kendoListView({
    dataSource: dataSource,
    template: "<div>#:name#</div>"
/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log(listview.dataItems()) //will output the bound array
In this article