Edit this page

predecessorId String |Number |Object

The id of the predecessor task.

Example - get the dependency predecessorId field

var dependency = new kendo.data.GanttDependency({
    id: 1,
    predecessorId: 1,
    successorId: 2,
    type: 0
console.log(dependency.predecessorId); // outputs "1"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article