TreeColumn.Hideable

Syntax

Hideable: Boolean

Description

The Hideable property determines whether column can be hidden.

Comments

Available values:

Use JSON or the setHideable method to set the property value and the getHideable method to get the property value.

Example

To execute the example, the page must contain the TreeList  component named «treeList» (see Example of Creating the TreeList Component). The example is launched in the browser console. Set the attribute of impossibility to hide to the first tree column:

// Set the attribute of impossibility to hide to the first tree column:
treeList.getColumns().getItem(0).setHideable(false);

As a result, it is impossible to hide the first column:

See also:

TreeColumn