Edit this page

axis String(default: null)

Constrains the hint movement to either the horizontal (x) or vertical (y) axis. Can be set to either "x" or "y".

Example - initiate horizontally draggable Sortable widget

<div id="sortable">
    <span>Item1</span>
    <span>Item2</span>
    <span>Item3</span>
</div>

<script>
    $("#sortable").kendoSortable({
        axis: "x"
     });
</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