CheckedChanged: function(sender, args);
sender. Event source.
args. Information on the event: Node - node which checkbox is selected or deselected.
The CheckedChanged event occurs on selecting or deselecting the checkbox.
The checkboxes are displayed if the CheckBoxes property is set to True.
NOTE. The CheckedChanged event occurs before the TreeList.CheckBoxClick event.
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: