Obtains an array of the DOM elements which correspond to the data items from the view method of the Kendo UI DataSource.


Array - The currently rendered view items ( depending on the item template, <div>, <li>, <tr>, and other elements).

<select id="listBox">
    dataSource: [ "Orange", "Apple" ],
    connectWith: "listBoxB"
// get a reference to the first list box widget
var listBox = $("#listBox").data("kendoListBox");
var items = listBox.items();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(items); // logs the items
In this article