TreeListView.ShowTree

Syntax

ShowTree: Boolean;

Description

The ShowTree property determines tree structure display mode in the first column.

Comments

Tree structure includes expanders.

Use JSON or the setShowTree(value, preventUpdate) method to set the property value and the getShowTree method to get the property value.

Parameters:

value. Boolean. Set value.

preventUpdate. Boolean. Indicates whether tree update is cancelled.

Example

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

// Hide tree structure
Tree.setShowTree(false);

After executing the example tree display structure is hidden in the first column.

See also:

TreeListView