Skip to main content
A newer version of this page is available. .
All docs
V21.2

ASPxClientGantt.InsertDependency(data) Method

Inserts a new dependency.

Declaration

InsertDependency(
    data: any
): void

Parameters

Name Type Description
data any

The dependency data.

Remarks

Gantt - Dependency

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