updateWidth(value);
value. Number. Width in pixels.
The updateWidth method sets title width.
The method does not generate events and does not consider the ListCaption.Reduction property.
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 width cap.updateWidth(50);
After executing the example title width is set.
See also: