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