TreeListBase.setExpandedForAll

Syntax

setExpandedForAll(value, fireEvents, ignoreRules);

Parameters

value. Boolean. Set value.

fireEvents. Boolean. Generate event on value changed. By default it is set to true.

ignoreRules. Boolean. Ignore rules. By default it is set to false.

Description

The setExpandedForAll method sets expander values to all nodes.

Example

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

// Expand all nodes
Tree.setExpandedForAll(true);

After executing the example all nodes are expanded.

See also:

TreeListBase