Skip to main content
All docs
V25.1
  • 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