AutoSize: function(sender, args);
sender. Event source.
args. Event information.
Caption. PP.Ui.ListCaption. The title, for which width autofit is initialized.
Index. Number. Title index.
The AutoSize event occurs before title width autofit.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Get title caps = Tree.getCaptions(); // Set event caps.AutoSize.add( function(sender, args) { console.log("AutoSize event:"); console.log(args); }); // Initialize event by double click on column separating line.
After executing the example the AutoSize event is added.
See also: