New to Kendo UI for jQuery? Start a free 30-day trial

The id of the predecessor task.

predecessorId

String|Number|Object
<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.predecessorId); // outputs "1"
</script>
Not finding the help you need?
Contact Support