1.6

Table Of Contents
Change detail line formatting based upon a data field value
An example of how to change the formatting of a line in a Dynamic Table, based upon a data
field value, is given in the following how-to: Change detail line formatting based upon a data
field value.
Resizing a Dynamic Table
To change the width of a Dynamic Table or of a column in a Dynamic Table, select it (see
"Selecting an element" on page389) and type the desired width as a percentage in the
respective field on the Attributes pane.
The height of the Dynamic Table is adjusted automatically to the amount of data added to it in
Preview mode or when generating output.
It is however possible to change the height of the rows: click in the row and type the desired
height in the respective field on the Attributes pane. All line item rows will have the same
height.
HTML elements and attributes
In HTML, a Detail Table is just a normal <table> element with rows and cells (see "HTML
element: table" on page458). But apart from the native attributes of a table, row and cell
element, some data- attributes can be seen in detail tables:
l data-detail: The name of the detail table in the data, for example: data-
detail="products".
l data-repeat: The row will be repeated if it has this attribute: data-repeat="".
l data-showin: This attribute determines the visibility of the row in different situations, if
the table gets split over multiple pages:
l header will make the row show up at the top of the table on the first page only.
l footer will make the row show up in the footer of the table on the last page only.
l break used in a row in the <thead> section of a table indicates that the row should
not be displayed at the top of the table on the first page, but only on following pages.
Used on a row in the <tfoot> section, it indicates that the row should be displayed
before each page-break. This value may be combined with footer or header, for
example: data-showin="footer, break", to make the row show up on every
page.
Note that these options can also be set via the user interface: right-click on the row and
Page 526