2020.1

Table Of Contents
You can fill the new header or footer rows as usual. You could for example drag a root level
data field to the row (see "Variable Data" on page777) or type in the cells. See also: "Mixing
text and data in one cell" on page802.
You could also add a subtotal (see below).
Adding subtotals
When creating a Dynamic Table with the Wizard, you can add subtotals based on one data
field to the table's footer and header. It is also possible to add (extra) subtotals to an existing
Dynamic Table.
Subtotals are added by using the data-sum and data-show-row attributes, normally in the
header and/or footer of the table.
Note that this requires the table to have the data-expander="2019" attribute. Tables created
with the Dynamic Table Wizard that was introduced in version 2020.1 will get this attribute
automatically.
For information about a Dynamic Table's attributes see "A Dynamic Table's data- attributes" on
page807.
To add subtotals to the header and/or footer:
1.
In the workspace, open the Design tab.
2. If the table doesn't have a header/footer, add it (see "Adding a header or footer" on
page709). To determine if a table has a header and/or footer, expand the table on the
"Outline pane" on page1033.
3. If you need an extra row in the header or footer:
a. Right-click the header or the footer of the table, depending on where you want to
add a row.
b.
On the shortcut menu, select Row > Insert below or Insert above.
4. Specify on which pages the row must appear in the output:
a. Select the row to which you want to add a subtotal (see "Selecting an element" on
page608).
b.
On the "Attributes pane" on page1024, select one of the options from the Show
Row drop-down:
l
All: The row will appear on all pages.
l
Before page break (footer rows only): The row will appear on all pages
Page 800