New to Kendo UI for jQuery? Start a free 30-day trial

Snap

configuration

If set to true the Gantt will snap tasks to the nearest slot during dragging (resizing or moving). Set it to false to allow free moving and resizing of tasks.

snap

Boolean

Default: true

<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
  dataSource: [{
    id: 1,
     orderId: 0,
     parentId: null,
    title: "Task1",
     start: new Date("2014/6/17 9:00"),
     end: new Date("2014/6/17 11:00")
  }],
  snap: false
});
</script>
Not finding the help you need?
Contact Support