TreeListView.NodeClick

Syntax

NodeClick: function(sender, args);

Parameters

sender. Event source.

args. Event information:

Description

The NodeClick event occurs on node click.

Example

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:

TreeListView