TreeListBase.ExpansionMode

Syntax

ExpansionMode: PP.Ui.TreeListExpansionMode;

Description

The ExpansionMode property determines node expansion mode.

Comments

Use JSON or the setExpansionMode method to set the property value and the getExpansionMode method to get the property value.

Example

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:

TreeListBase