Skip to main content

deleteLink

Description

Deletes the specified dependency link

deleteLink: (id: string | number) => void

Parameters

  • id - (required) string | number - the dependency link's id

Example

gantt.addLink({
id:1,
source:1,
target:2,
type:1
});

gantt.deleteLink(1); /*!*/

Details

The method invokes the onBeforeLinkDelete and onAfterLinkDelete events.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.