successorId String|Number|Object

The id of the successor task.

Example - get the dependency successorId field

<script>
var dependency = new kendo.data.GanttDependency({
    id: 1,
    predecessorId: 1,
    successorId: 2,
    type: 0
});
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(dependency.successorId); // outputs "2"
</script>
In this article