Edit this page

container String | jQuery(default: null)

Selector that determines the container to which boundaries the hint movement will be constrained.

Example - initiate Sortable widget with hint movement constrains

<div id="wrapper">
    <ul id="sortable">
        <li>Item1</li>
        <li>Item2</li>
        <li>Item3</li>
    </ul>
</div>

<script>
    $("#sortable").kendoSortable({
        container: $("#wrapper")
     });
</script>

<style>
    #wrapper {
        padding: 10px;
        width: 100px;
        border: 1px solid #FF0000;
    }
</style>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy