TreeList.CheckedChanged

Syntax

CheckedChanged: function(sender, args);

Parameters

sender. Event source.

args. Information on the event: Node - node which checkbox is selected or deselected.

Description

The CheckedChanged event occurs on selecting or deselecting the checkbox.

Comments

The checkboxes are displayed if the CheckBoxes property is set to True.

NOTE. The CheckedChanged event occurs before the TreeList.CheckBoxClick event.

Example

To execute this example, Create a TreeList Component named "treeListSett". Add handler for the CheckedChanged event:

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

{

   alert(args.Node.getText())

});

After executing the example on toggling the checkbox state, the console shows a message that contains text of the node whose checkbox is selected or deselected.

See also:

TreeList