ListCaptions.AutoSize

Syntax

AutoSize: function(sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The AutoSize event occurs before title width autofit.

Example

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:

ListCaptions