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="dropdownlist" />
<script>
$("#dropdownlist").kendoDropDownList({
    dataSource: ["Tea", "Coffee", "Water"]
});

var dropdownlist = $("#dropdownlist").data("kendoDropDownList");
var items = dropdownlist.items();
console.log(items); // logs the li elements
</script>
In this article
items
Not finding the help you need?
Contact Support