Appearance
TreeActor ​
The TreeActor is a specialization of the ListActor. It is intended to use it with a TreeComponent.
The TreeActor, just like its base component ListActor, manages an amount of similar data and provides the TreeComponent with various interfaces for interaction. The TreeActor makes it possible, for example, to expand and collapse nodes of the tree and to reload the data of the tree.
Please note: The TreeActor cannot be used directly in layouts, because important functions for loading data are not implemented. It rather provides the framework which can be used by specialized TreeActor components.
Properties ​
Parent:
Actor
Type:
TreeActor
Parameter ​
Parameters in the Layout ​
| Name | Type | Description |
|---|---|---|
| defaultOpenLevel | number default: 0 | Number of levels that are automatically expanded when initially loading the tree's data. |
| defaultOpenLevelPreset | string | If configured, this value is used as the name of a feature preset containing the number of nodes of the tree's data to be automatically opened. Overwrites the value from defaultOpenLevel. |
| showRoot | boolean default: true | Defines whether to display root-level records in a TreeComponent. |
| showRootPreset | string | If configured, this value is used as the name of a feature preset that defines whether root-level records should be displayed in a TreeComponent.Overwrites the value from showRoot. |
| selectionActor | SelectionActor | Is required to keep the selection in sync after refreshing or other modification of tree items. |

