Changing: function(sender, args);
sender. Event source.
args. Event information:
Changing. Object. Changed title.
Type. String. Changed property.
The Changing event occurs before changing any title properties affecting displaying.
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: