fires before a link is updated
id | string|number | the link id |
new_link | Link | the new (updated) object of the link |
boolean | defines whether the default action of the event will be triggered (true) or canceled (false) |
gantt.attachEvent("onBeforeLinkUpdate", function(id,new_link){
//any custom logic here
return true;
});
The event is blockable. Return false to cancel updating of the link.