fires when a user creates a new link between tasks
link | Link | the object of a new link |
boolean | returning `false` will cancel the creation of a new link, returning `true` will continue the default processing |
gantt.attachEvent("onLinkCreated", function(link){
// your code here
return true;
});
The event fires before a new link is displayed, which allows you to cancel the creation of a link.
added in v6.2.2
Back to top