# 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 that can be used by specialized TreeActor components.

# Properties

  • Parent: ListActor

  • Type: com.cm4ap.base.tree.TreeActor

# Parameter

Name Type Description
defaultOpenLevel number Number of levels to be 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 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.
Request missing documentation