TreeListView.EnableAutoColumnSize

Syntax

EnableAutoColumnSize: Boolean;

Description

The EnableAutoColumnSize property determines column width autofit mode.

Comments

Use JSON or the setEnableAutoColumnSize method to set the property value and the getEnableAutoColumnSize 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).

// Set column width autofit mode
Tree.setEnableAutoColumnSize(true);

After executing the example column width autofit mode is enabled.

See also:

TreeListView