Check documentation for the latest version 6.0 of dhtmlxSuite onDblClick DHTMLX Docs

onDblClick

fires right after a tree item has been double clicked, but before the default onDblClick functionality has been processed

boolean onDblClick(string|number id){ ... };

Parameters

idstring|numberid of the node that was double clicked

Returns

booleantrue - confirms opening/closing

Example

myTree.attachEvent("onDblClick", function(id){
    // your code here
    return true;
});

Details

The event is blockable. Returning "false" will prevent the default action.

Back to top