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>