Returns the data item at the specified index.


index Number (required)

The zero-based index of of the data item.


Object the data item at the specified index. Returns undefined if the index is not within bounds.

Example - get the item at certain index

<input id="autocomplete" />
    dataSource: [ "Apples", "Oranges" ]
var autocomplete = $("#autocomplete").data("kendoAutoComplete");
// Search for items starting with "A" - will open the suggestion popup and show "Apples""A");
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(autocomplete.dataItem(0)); // Displays "Apples" in the browser console
In this article
Not finding the help you need? Improve this article