New to Kendo UI for jQueryStart a free 30-day trial

Items

methods

Returns the sortable elements. Filtered items and the placeholder are excluded from the collection.

Important: While user drags to sort the original item is hidden and the placeholder is appended to the Sortable collection. This is why jQuery's children method might return incorrect results. When the developer wants to obtain the sortable items it is recommended to use widget's items method.

Returns:jQuery

the sortable items

<div id="sortable">
    <h4>Sortable List</h4>
    <div>Item1</div>
    <div>Item2</div>
    <div>Item3</div>
</div>

<script>
    var sortable = $("#sortable").kendoSortable({
        filter: ">div"
    }).data("kendoSortable");

/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(sortable.items());
</script>
Not finding the help you need?
Contact Support