2022.1

Table Of Contents
height in the respective field on the Attributes pane. All line item rows will have the same
height.
Adding leading and trailing space to a Dynamic Table
The best way to add extra space at the top or bottom of a Dynamic Table is to set the Table's
top or bottom margin, respectively (see "Styling a table" on page808).
Do not use empty lines (<br>) or paragraphs (<p>) to add trailing space to a table. In Print
output they might end up on a next page without any other visible content, which would still be
printed because lines and paragraphs must be treated as content, even when they are empty.
HTML: table element and data- attributes
In HTML, a Dynamic Table is a normal <table> element with rows and cells (see "HTML
element: table" on page769). But apart from the native attributes of a table, rows and cells, it
has some proprietary data- attributes which make it dynamic.
These data- attributes are set automatically on a new table that is made with the Dynamic
Table Wizard that was introduced in version 2020.1.
They can be changed via the "Attributes pane" on page1118, depending on which element is
selected (see "Selecting an element" on page669), or directly in the template's HTML via the
"Source tab" on page1142.
Tip
Just like other attributes, data- attributes can be used as selector; see "Using scripts in
Dynamic Tables" on page951.
For a list of all data- attributes that can be used in a Dynamic Table, see "A Dynamic Table's
data- attributes" below.
A Dynamic Table's data- attributes
In HTML, a Dynamic Table is a normal <table> element with rows and cells (see "HTML
element: table" on page769). But apart from the native attributes of a table, rows and cells, it
has some proprietary data- attributes which make it dynamic.
These data- attributes are set automatically on a new table that is made with the Dynamic
Table Wizard that was introduced in version 2020.1.
They can be changed via the "Attributes pane" on page1118, depending on which element is
Page 879