onDblClick

fires when a TreeView item has been double clicked

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

Parameters

idstring|numberid of the node that was double clicked

Returns

booleantrue - confirms opening/closing

Example

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

Details

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

See also
Change log

added in version 5.1

Back to top