Changed: function(sender, args);
sender. Event source.
args. Event information:
ChangedProperty. String. Changed property.
NewValue. New value.
The Changed event occurs after 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 cap.Changed.add( function(sender, args) { console.log("Changed event:"); console.log(args); }); // Initialize event cap.setWidth(200);
After executing the example the event is added.
See also: