type String|Number|Object

The type of the dependency. The type is a value between 0 and 3, representing the four different dependency types:

  • 0 - Finish-Finish
  • 1 - Finish-Start
  • 2 - Start-Finish
  • 3 - Start-Start

Example - set the type of a dependency

<script>
var dependency = new kendo.data.GanttDependency({
    id: 1,
    predecessorId: 1,
    successorId: 2,
    type: 0
});
</script>
In this article