Edit this page

items

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

Returns

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

<select id="listBox">
    <option>Orange</option>
    <option>Apple</option>
</select>
<script>
$("#listBox").kendoListBox({
    dataSource: [ "Orange", "Apple" ],
    connectWith: "listBoxB"
});
// get a reference to the first list box widget
var listBox = $("#listBox").data("kendoListBox");
var items = listBox.items();
console.log(items); // logs the items
</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