-
From the Structures
tab:
-
Drop the Table
element into the work area.
A two-columns table is added to the template structure.

-
Drop the Row
element into the table.
A new line is added to the table.
Note:
You can add several
rows.
- Optional:
To define the table column number, you can:
| Option | Description |
|---|
Drop the Header Cell
element into the header row.

|
The app
inserts a new column at the chosen location in the table, in the header row, and in
the rows. |
| Drop the Cell element into a row.

|
The app
inserts a new column at the chosen location in the table, in the row, and in the
header row. |
| Drop a loop into the header row and add header cells in the loop.

Drop loops of the same length in each row of the table, and insert the same
number of cells in these loops. |
The number of columns becomes variable depending on the loop. |
- Optional:
To customize the display of a table when generating a report, you can:
| Option | Description |
|---|
| Select a chart display for the table. |
For more information about entering a chart style in the
Style field, see Chart Styles for Tables. You can enter an extra text
in the Comments field. For example, you can enter
Table displayed as a chart. |
| Enter a ratio for a column. |
For more information about defining a ratio for a column in relation with the
table width, see Setting Columns Widths. |
| Format and filter a table, its rows, or its cells. |
For more information, see Formatting, Filtering, and Sorting Options. |
Result: You can now insert text elements in the table.
Example: Creation of a Two-Columns Table
This example presents how to create a table with two columns. This table contains a
loop.
The template must contain a section. A parameter req of
Requirement type must be created.
-
From the Structures
tab:
- Drop Table
into the section.
- Drop Text
into the first cell of the header row, click it, and enter
Name in the Text field of the
Properties
tab.
- Drop Text
into the second cell of the header row, click it, and enter
Content in the Text field of the
Properties
tab.
-
From the Data
tab:
- Expand a variable var and a category
cat. For example, expand
Navigation of req.
- Drop a method allElements corresponding to a loop into
the table below the header row. For example, drop Snapshots
into the table.
The app
creates a new variable in the Data
tab. For
the example, the sna variable is created.
-
From the Structures
tab,
drop Row
into the table in the loop.
-
From the Data
tab,
expand a variable and a category.
- Drop data1 into the first cell of the row.
- Drop data2 into the second cell of the row.
For the example, from the Attributes category of
req, drop Name in the first cell and
Context Text in the second cell.
