TreeListBase.NodeFixedExpanded

Syntax

NodeFixedExpanded: Boolean;

Description

The NodeFixedExpanded property determines whether the specified node can be expanded or collapsed.

Comments

Use the setNodeFixedExpanded(nodeKey, value) method to set the property value, and the getNodeFixedExpanded(nodeKey) method to get the property value.

Parameters:

Available value variants:

Example

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

// Disable expanding/collapsing of the first node
Tree.setNodeFixedExpanded(0, true);

After executing the example the node with the 0 index is disabled to edit.

See also:

TreeListBase