NodeClick: 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 NodeClick event occurs on node click.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Set event Tree.NodeClick.add( function(sender, args) { console.log("NodeClick event:"); console.log(args); }); // Initialize event by node click
After executing the example the NodeClick event is added.
See also: