ASPxClientGantt.GetDependencyData(key) Method
In This Article
Gets the dependency data.
#Declaration
TypeScript
GetDependencyData(
key: any
): any
#Parameters
Name | Type | Description |
---|---|---|
key | any | The dependency’s key. |
#Returns
Type | Description |
---|---|
any | The dependency’s data. |
#Remarks
The GetDependencyData method returns data in the following format:
{ DependentID: “Successor_id” ID: “Dependency_id” ParentID: “Predecessor_id” Type: “Dependency_type” }
The key should have the same format as used in the data source field.
<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" >
//...
</dx:ASPxGantt>
console.log(clientGantt.GetDependencyData("dependency_key"));
#Concepts
See Also