在链接更新之前触发
gantt.attachEvent("onBeforeLinkUpdate", function(id,new_link){ // 可以在这里添加自定义逻辑 return true; });
此事件可以被阻止。返回false将防止链接被更新。