ASPxClientGantt.InsertDependency(data) Method
In This Article
Inserts a new dependency.
#Declaration
TypeScript
InsertDependency(
data: any
): void
#Parameters
Name | Type | Description |
---|---|---|
data | any | The dependency data. |
#Remarks
The keys should have the same format as used in the data source fields.
<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" >
//...
</dx:ASPxGantt>
clientGantt.InsertDependency({ ParentID: "1", DependentID: "2", Type: 0});
#Concepts
See Also