items

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

Example - using the items method

<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");

    console.log(sortable.items());
</script>
In this article
Not finding the help you need?