start

Fires when sortable item drag starts.

Event Data

e.draggableEvent Object

The original draggable's dragstart event data.

e.item jQuery

The element that will be dragged.

e.preventDefault Function

If invoked prevents the drag start action. The element will remain at its original position. The hint and placeholder will not be initialized.

Example - prevent certain item from being sorted by cancelling the drag start action

<ul id="sortable">
    <li>Item1</li>
    <li>Item2</li>
    <li>Item3</li>
</ul>

<script>
    $("#sortable").kendoSortable({
        start: function(e) {
            if(e.item.text() === "Item1") {
                e.preventDefault();
            }
        }
    });
</script>
In this article
Not finding the help you need? Improve this article