fires when the user double clicks on a link

boolean onLinkDblClick(string|number id, [Event e] );
idstring|numberthe id of the clicked link
eEventoptional, a native event object
booleandefines whether the default action of the event will be triggered (true) or canceled (false)


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


The event is blockable. Returning false will cancel the default handler (deleting a link)

See also
Back to top