Back to Devexpress

ASPxClientGantt.InsertDependency(data) Method

aspnet-js-aspxclientgantt-dot-insertdependency-x28-data-x29.md

latest1.5 KB
Original Source

ASPxClientGantt.InsertDependency(data) Method

Inserts a new dependency.

Declaration

ts
InsertDependency(
    data: any
): void

Parameters

NameTypeDescription
dataany

The dependency data.

|

Remarks

The keys should have the same format as used in the data source fields.

aspx
<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" >
    //...
</dx:ASPxGantt>
js
clientGantt.InsertDependency({ ParentID: "1", DependentID: "2", Type: 0});

Concepts

See Also

DependencyInserted

DependencyInserting

ASPxGantt - Overview

MVCxGantt - Overview

ASPxGantt - 'How To' Examples

MVCxGantt - 'How To' Examples

ASPxClientGantt Class

ASPxClientGantt Members