All docs
V20.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
A newer version of this page is available. Switch to the current version.

ASPxClientGantt.GetDependencyData(key) Method

Gets the dependency data.

Declaration

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.

Run Demo

console.log(clientGantt.GetDependencyData("dependency_key"));

Concepts

See Also