Skip to main content

Expanding and Collapsing Nodes

  • 2 minutes to read

To expand a collapsed parent node, use the following keyboard shortcuts or mouse operations:

Keyboard Shortcut Result
Plus (+) Expands a node to show its immediate children.
Right Arrow Expands a node to show its immediate children in the single-column View.
Asterisk (*) on the numeric keypad Recursively expands a subtree.
Mouse Action Result
Click an expand button, double-click a node, double-click a node indicator. Expands a node to show its immediate children.

To collapse an expanded parent node, use the following keyboard shortcuts or mouse operations:

Keyboard Shortcut Result
Minus (-) Collapses an expanded node.
Left Arrow Collapses an expanded node in the single-column View.
Mouse Action Result
Click an expand button, double-click a node, double-click a node indicator. Collapses an expanded node.

Notes

A parent node can be automatically expanded or collapsed when performing drag and drop. To enable this, activate the tree list’s OptionsBehavior.DragExpand and OptionsBehavior.DragCollapse options.

Automatic expansion can also be performed during an incremental search. For this purpose, activate the tree list’s OptionsBehavior.ExpandOnIncSearch option.

The Right Arrow and Left Arrow keys are used for node expansion and collapse when only one column is visible in the View. In the multi-column View, these keys are used for data cell navigation.

Node expansion with a node or a node indicator double-click is allowed, if the tree list’s OptionsBehavior.ExpandOnDblClick option is active.