ListCaptions.Changing

Syntax

Changing: function(sender, args);

Parameters

sender. Event source.

args. Event information:

Description

The Changing event occurs before changing any title properties affecting displaying.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

// Get title
caps = Tree.getCaptions();
cap = caps.getCaptions()[0];
// Set event
caps.Changing.add( function(sender, args) {
  console.log("Changing event:");
  console.log(args);
});
// Initialize event
cap.setWidth(200);

After executing the example the Changing event is added.

See also:

ListCaptions