NodeMouseDown: function(sender, args);
sender. Event source.
args. Event information:
Node. String. Node key.
Column. Number. Column number.
Cancel. Boolean. If this property is set to True in the event handler, the operation is cancelled.
AltKey. Boolean. Indicates whether the ALT key is pressed.
CtrlKey. Boolean. Indicates whether the CTRL key is pressed.
ShiftKey. Boolean. Indicates whether the SHIFT key is pressed.
Type. String. Clicked element of the node.
The NodeMouseDown event occurs on clicking a mouse button on node.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Set event Tree.NodeMouseDown.add( function(sender, args) { console.log("NodeMouseDown event:"); console.log(args); }); // Initialize event by clicking any part of node
After executing the example the NodeMouseDown event is added.
See also: