fires when the user double clicks on a task

boolean onTaskDblClick(string id, [Event e] );
idstringthe id of the double clicked task
eEventa native event object
booleandefines whether the default action of the event will be triggered (true) or canceled (false)


gantt.attachEvent("onTaskDblClick", function(id,e){
    //any custom logic here
    return true;


The event is blockable. Returning false will cancel the default handler (opening of task details)

See also
Back to top