onTaskDblClick
Description
Fires when the user double clicks on a task
onTaskDblClick: (id: string, e?: Event) => boolean;
Parameters
id- (required) string - the id of the double clicked task
Returns
result- (boolean) - defines whether the default action of the event will be triggered (true) or canceled (false)
Example
gantt.attachEvent("onTaskDblClick", function(id,e){
//any custom logic here
return true;
});
Details
The event is blockable. Returning false will cancel the default handler (opening of task details)