ListCaption.Reduction

Syntax

Reduction: Number;

Description

The Reduction property determines reduction of visible title width.

Comments

It is used to reduce visible title width because of overlaying the title menu button. It is set in pixels.

Use JSON or the setReduction method to set the property value and the getReduction method to get the property value.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

// Get second title
caps = Tree.getCaptions();
cap = caps.getCaptions()[1];
// Get the current reduction of visible width
cap.getReduction();

After executing the example the value is obtained, by which the second title width is reduced.

See also:

ListCaption