TreeList.NodeClick

Syntax

NodeClick: function(sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The NodeClick event is fired on clicking a list item.

Example

To execute this example, create a TreeList component named treeListSett. Add a handler for the NodeClick event

treeListSett.NodeClick.add(function (sender, args)

{

  treeListSett.getNodes().getItem(0).setSelected(true);

});

After executing this example clicking a list element selects the first tree node.

See also:

TreeList