当用户在任务之间建立新连接时触发
gantt.attachEvent("onLinkCreated", function(link){ // 你的代码 return true; });
此事件发生在新链接显示之前,提供了阻止链接被创建的选项。
v6.2.2 中新增