CheckedChanged: function(sender, args);
sender. Event source.
args. Event information:
Type. String. Selection type.
Value. Boolean. Checkbox status.
Node. String. Node identifier.
The CheckedChanged event occurs after changing checkbox status.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Set event Tree.CheckedChanged.add( function(sender, args) { console.log("CheckedChanged event:"); console.log(args); }); // Initialize event Tree.setNodeChecked(1, true);
After executing the example the CheckedChanged event is added.
See also: