items
Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view.
Returns
Array
The currently rendered dropdown list items (<li>
elements).
Example
<input id="combobox" />
<script>
$("#combobox").kendoComboBox({
dataSource: ["Item1", "Item2", "Item3"]
});
var combobox = $("#combobox").data("kendoComboBox");
var items = combobox.items();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(items); // [li, li, li...]
</script>
In this article