# 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 PolymerList 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 PolymerList are also available for the TreeComponent.

# Properties

  • HTMLElement

  • Element tag: cm4ap-tree-component

# Parameter

Name Type Description
showLines boolean Defines whether the parent-child relationships of individual items are represented by graphical lines. The implementation is up to the ItemRenderer (compare PolymerList ). 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 PolymerList component is ignored in a TreeComponent.

Request missing documentation