Back to Devexpress

ASPxClientGantt.GetDependencyData(key) Method

aspnet-js-aspxclientgantt-dot-getdependencydata-x28-key-x29.md

latest1.6 KB
Original Source

ASPxClientGantt.GetDependencyData(key) Method

Gets the dependency data.

Declaration

ts
GetDependencyData(
    key: any
): any

Parameters

NameTypeDescription
keyany

The dependency’s key.

|

Returns

TypeDescription
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.

aspx
<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" >
    //...
</dx:ASPxGantt>
js
console.log(clientGantt.GetDependencyData("dependency_key"));

Concepts

See Also

ASPxGantt - Overview

MVCxGantt - Overview

ASPxGantt - 'How To' Examples

MVCxGantt - 'How To' Examples

ASPxClientGantt Class

ASPxClientGantt Members