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 - get the dependency type

<script>
var dependency = new kendo.data.GanttDependency({
    id: 1,
    predecessorId: 1,
    successorId: 2,
    type: 0
});
console.log(dependency.type); // outputs "0"
</script>
In this article
Not finding the help you need?