ExpansionMode: PP.Ui.TreeListExpansionMode;
The ExpansionMode property determines node expansion mode.
Use JSON or the setExpansionMode method to set the property value and the getExpansionMode method to get the property value.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Determine node expansion mode Tree.setExpansionMode(PP.Ui.TreeListExpansionMode.SingleExpand);
After executing the example a single node expansion mode is enabled.
See also: