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.