items

Get the listview DOM element items

Returns

jQuery The listview DOM element items

    <div data-role="view">
      Get items
      <ul id="listView" data-role="listview" data-style="inset">
        <li>Foo</li>
        <li>Bar</li>
      </ul>
    </div>


    <script>
    function getListViewItems() {
    /* The result can be observed in the DevTools(F12) console of the browser. */
        console.log($("#listView").data("kendoMobileListView").items());
    }

    new kendo.mobile.Application();
    </script>
In this article