Edit this page

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.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy