drop

Fires when a ListBox item is dropped over one of the drop targets.

Event Data

e.items Array

The item elements that are to be dropped.

e.dataItems Array

The data items that are to be dropped.

e.preventDefault Function

If invoked, prevents the drop action. The element will remain at its original position. The hint and placeholder will be initialized.

Example

<select id="listBox">
    <option>Orange</option>
    <option>Apple</option>
    <option>Banana</option>
    <option>Peach</option>
</select>
<script>
$("#listBox").kendoListBox({
     draggable: true,
     drop: function(e) {
         console.log("drop event");
     }
});
</script>
In this article
Not finding the help you need? Improve this article