setExpandedForAll(value, fireEvents, ignoreRules);
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.
The setExpandedForAll method sets expander values to all nodes.
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: