Edit this page

dragend

Fires when the dragging of the item ends but before its position is changed in the DOM.

Event Data

e.items Array

The item elements that are to be dragged.

e.dataItems Array

The data items that are to be dragged.

e.draggableEvent Object

The original drag event data of draggable.

Example

<select id="listBox">
    <option>Orange</option>
    <option>Apple</option>
    <option>Banana</option>
    <option>Peach</option>
</select>
<script>
$("#listBox").kendoListBox({
    draggable: true,
    dragend: function(e) {
        console.log(e.items);
        console.log(e.dataItems);
    }
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy