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

    Gantt - Dependency

    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.

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

    Concepts

    See Also