deleteLink
Description
删除指定的依赖链接
deleteLink: (id: string | number) => void
Parameters
id- (required) string | number - 该依赖链接的 ID
Example
gantt.addLink({
id:1,
source:1,
target:2,
type:1
});
gantt.deleteLink(1); /*!*/
Details
该方法会触发 onBeforeLinkDelete 与 onAfterLinkDelete 事件。
Related API
Related Guides
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.