CheckBoxClick: function(sender, args);
sender. Event source.
args. Event information:
Node. String. Key of the node, which checkbox was changed.
Cancel. Boolean. If this property is set to true in the event handler, the operation is cancelled.
The CheckBoxClick event occurs before clicking the checkbox.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Set event Tree.CheckBoxClick.add( function(sender, args) { console.log("CheckBoxClick event:"); console.log(args); }); // Initialize event by clicking the checkbox
After executing the example the CheckBoxClick event is added.
See also: