cursorOffset Object(default: null)

If set, specifies the offset of the hint relative to the mouse cursor/finger. By default, the hint is initially positioned on top of the draggable source offset. The option accepts an object with two keys: top and left.

Example - initialize Sortable with cursorOffset

<ul id="sortable">
    <li>ItemA1</li>
    <li>ItemA2</li>
    <li>ItemA3</li>
</ul>

<script>
    $("#sortable").kendoSortable({
        cursorOffset: { top: 30, left: 30 }
    });
</script>

cursorOffset.left Number

The left offset of the hint element relative to the mouse cursor/finger.

cursorOffset.top Number

The top offset of the hint element relative to the mouse cursor/finger.

In this article
Not finding the help you need? Improve this article