2021.1

Table Of Contents
Note
This attribute cannot be used as a selector
for template scripts, since it gets removed
when the table is expanded, which
happens before template scripts run.
data-script
<tr> (a table
row), <td> (a
table cell),
<span>
When creating a script for a row, cell or span in a
Dynamic Table this attribute is set on the element
and used as selector (see "Quick-start a script
with the Create script button" on page900). Its
value is the name of a data field; e.g. data-
script="ID".
data-show-row
<tr> (a table
row)
When set on a row in the body of the table
(<tbody>), this attribute causes a row (a line with
data) to appear before and/or after a page break if
a sub-table runs over multiple pages.
This is particularly useful in tables with several
levels and long nested tables.
Initially this attribute is omitted. A row without this
attribute will be displayed once per record in a
detail table.
This attribute can be set to the following values:
l all: Show the row before and after a page
break.
l after-break: Show the row after a page
break.
l before-break: Show the row before a
page break.
On a row in the header (<thead>) or footer
(<tfoot>) of the table, this attribute can also be set
to the following value:
Page 833