setSelectedForAll(value, fireEvents, ignoreRules);
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.
The setSelectedForAll method selects all nodes.
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: