Tree table (report component)

The report component type Tree table displays a table, in the first column of which a tree with model objects is displayed and in the following columns the contents of a table. For this combination the tree table references the components tree and table once each. For each specific node of the tree (a model object), the contents of the columns configured in the table are determined in the same row.

Configuration:

Property

Description

Root node objects

This shows which queries or attributes are configured to determine the root node objects. You also have the option here to use the text box or the buttons to the right of the text box to reference or create queries and attributes that determine the root nodes of the tree. If no root node objects are configured here, the context object is used as source.

Tree

This shows which tree is configured for the tree table. You also have the option here to reference or create a tree via the text box or the buttons to the right of the text box, which is output in the first column of the tree table.

Table

This shows which table is configured for the tree table. You also have the option here to reference or create a table using the text box or the buttons to the right of the text box, which will be output from the second column in the tree table.

Note: For tables within tables, the column widths of the tree table do not overwrite the width of the table's columns in the table.

Report one tree table per object

If this option is activated, a tree table is created for each root node object found.

Column widths

Enter the column widths in percent (%) or centimeters (cm) here. The column widths configured in the table or tree are then ignored.

How to enter column widths in the Enter String Array dialog is described under Enter column widths.

The first value defines the width of the tree component. The following values define the widths of the columns of the table component.

Report empty tree table With this property, the heading is reported even if no contents can be determined for the tree table.

List in index of tables

If a table directory is reported in the report, you can select here whether the generated table should be included in it.

Display

Categories can be referenced under this attribute. This can limit the visibility / execution.

Most application scenarios require category and access control related visibility.

The logic of the evaluation is as follows:

  1. If at least one category is specified, the object must be an instance of that category. Otherwise, no evaluation of the category are carried out

  2. If at least one user group is specified, the current user must be a member of at least one of these user groups

  3. If at least one Access Control List is specified, the user must have the View permission in the Access Control List

  4. If at least one condition component is specified, at least one condition must apply.

If this logic is not sufficient, a differentiated logic can be configured via the condition components.

BPM Portal

Maximum number of rows

For example, if the maximum number of rows is set to 10, the tree table will be split from the 11th row. You can switch between the parts of the tree with arrow buttons (pagination).

Excel export If this property is activated, the tree can be exported to an Excel file. You can define a template for the Excel export.
Show filter initially This property is used to initially display the filters in the columns, which can be used to filter the contents.