Skip to main content
All docs
V25.1
  • ASPxClientGantt.DeleteDependency(key) Method

    Deletes a dependency.

    Declaration

    DeleteDependency(
        key: any
    ): void

    Parameters

    Name Type Description
    key any

    The dependency’s key.

    Remarks

    Gantt - Dependency

    The key should have the same format as used in the data source field.

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

    The Gantt control displays a delete confirmation message when you are going to remove a dependency.

    Gantt - Remove a Dependency

    Concepts

    See Also