CheckedChanging: function(sender, args);
sender. Event source.
args. Event information:
Type. String. Selection type
Value. Boolean. Checkbox status
Node. String. Node identifier.
Cancel. Boolean. If this property is set to True in the event handler, checkbox state is not changed.
The CheckedChanging event occurs before changing checkbox status.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Set event Tree.CheckedChanging.add( function(sender, args) { console.log("CheckedChanging event:"); console.log(args); }); // Initialize event Tree.setNodeChecked(1, true);
After executing the example the CheckedChanging event is added.
See also: