onLinkDblClick

fires when the user double clicks on a link

boolean onLinkDblClick(string id, [Event e] ){ ... };

Parameters

idstringthe id of the clicked link
eEventa native event object

Returns

booleandefines whether the default action of the event will be triggered (true) or canceled (false)

Example

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

Details

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

See also
Back to top