GanttDependency Object
The following table lists the most important methods of the GanttDependency client-side object:
Name | Parameters | Return Type | Description |
---|---|---|---|
get_id | none | string | Gets the id of the dependency. See Example 1. |
get_predecessorId | none | string | Gets the id of the predecessor task. |
get_successorId | none | string | Gets the id of the successor task. |
get_type | none | Telerik.Web.UI.GanttDependencyType | Gets the type of the dependency. |
var gantt = $find("<%= RadGantt1.ClientID %>");
var firstDependency = gantt.get_dependencies().getDependency(0);
var id = firstDependency.get_id();