reorder

Fires when ListBox items are reordered.

Event Data

e.items Array

The item elements that are to be reordered.

e.dataItems Array

The data items that are to be reordered.

e.offset Number

The offset from the initial position of the item.

Example

<select id="listBox">
    <option>Item 1</option>
    <option>Item 2</option>
    <option>Item 3</option>
    <option>Item 4</option>
</select>
<script>
    $("#listBox").kendoListBox({
        toolbar: {
            tools: [ "moveUp", "moveDown" ]
        },
        reorder: function (e) {
            // handle event
        }
    });
</script>
In this article
Not finding the help you need? Improve this article