move

Fires when Sortable's placeholder changes its position.

Event Data

e.item jQuery

The element that is dragged.

e.target jQuery

The target element under cursor against which placeholder is positioned.

e.list kendo.ui.Sortable

The Sortable widget instance which the item belongs to (useful in case there are connected Sortable widgets).

e.draggableEvent Object

The original draggable's drag event data.

Example

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

<script>
    $("#sortable").kendoSortable({
        move: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
            console.log("move to index: " + this.indexOf(this.placeholder));
        }
    });
</script>
In this article