# TreeComponent

The TreeComponent is used to display similar data in a tree structure. The data to be displayed is supplied by a TreeActor. The TreeActor is also used to navigate through the TreeComponent. It can be used to open and close individual nodes in the tree.

The TreeComponent is based on the BufferedList component, because the representation of data in a tree structure is very similar to the representation of lists. Therefore, all parameters that can be passed to BufferedList are also available for the TreeComponent.

Refer to our tutorial "How to set up a TreeComponent" here.

# Properties

# Parameter

# Parameters in the Layout

Name Type Description
showLines boolean
default: false
Defines whether the parent-child relationships of individual items are represented by graphical lines. The implementation is up to the ItemRenderer (compare BufferedList ). Therefore, the lines can look different for different ItemRenderers.
listActor TreeActor The data supplied by the TreeActor is displayed by the TreeComponent.

Please note: Parameter grid from the BufferedList component is ignored in a TreeComponent.

Request missing documentation