snap Boolean (default: true)

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.


<div id="gantt"></div>
  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
In this article