TreeListBase.CheckedChanging

Syntax

CheckedChanging: function(sender, args);

Parameters

sender. Event source.

args. Event information:

Description

The CheckedChanging event occurs before changing checkbox status.

Example

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:

TreeListBase