fires after the links have been loaded to the Gantt chart but before they are displayed
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("onBeforeLinkDisplay", function(id, link){
if (link.type == gantt.config.links.finish_to_start){
return true;
}
return false;
});
The event is blockable. Returning false will prevent the link from being displayed