Unions

The following unions are available in the Tree View component:

NameValueDescription
CheckState
'Checked' | 'Unchecked' | 'Indeterminate'

Specifies the transient tri-state of a row's checkbox.

  • Checked - the row's checkbox is fully checked.
  • Unchecked - the row's checkbox is fully unchecked.
  • Indeterminate - the row's checkbox is in a mixed state, with only some of its child nodes checked.
ExpandOnAction
'Click' | 'DoubleClick' | 'None'

Specifies the action that triggers expansion/collapse on a row.

  • Click - expands or collapses on a single click.
  • DoubleClick - expands or collapses on a double click.
  • None - expansion is triggered only via the expand icon or the controlled expandedIds.
SelectionMode
'None' | 'Single' | 'Multiple' | 'Checkbox'

Specifies the selection mode of TreeView.

  • None - no selection.
  • Single - only one node can be selected.
  • Multiple - multiple nodes can be selected.
  • Checkbox - multi-node selection driven by checkboxes.