TreeListBase.setSelectedForAll

Syntax

setSelectedForAll(value, fireEvents, ignoreRules);

Parameters

value. Boolean. Set value.

fireEvents. Boolean. Generate selection change event. By default it is set to true.

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

Description

The setSelectedForAll method selects all nodes.

Example

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

// Select all nodes
Tree.setSelectedForAll(true);

After executing the example all nodes are selected.

See also:

TreeListBase