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