Skip to main content

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)

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.