Returns An array of data items to which the widget is bound.


<select id="listBox"></select>
    var dataSource = new{
        data: [{ name: "Jane Doe" }, { name: "John Doe" }]
    var listBox = $("#listBox").kendoListBox({
        dataSource: dataSource,
        template: "<div>#:name#</div>"
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(listBox.dataItems()) //will output the bound array
In this article
Not finding the help you need? Improve this article