Back to Devexpress

ASPxClientGantt.DeleteDependency(key) Method

aspnet-js-aspxclientgantt-dot-deletedependency-x28-key-x29.md

latest1.5 KB
Original Source

ASPxClientGantt.DeleteDependency(key) Method

Deletes a dependency.

Declaration

ts
DeleteDependency(
    key: any
): void

Parameters

NameTypeDescription
keyany

The dependency’s key.

|

Remarks

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

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

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

Concepts

See Also

ASPxGantt - Overview

MVCxGantt - Overview

ASPxGantt - 'How To' Examples

MVCxGantt - 'How To' Examples

ASPxClientGantt Class

ASPxClientGantt Members