2019.1

Table Of Contents
Cascading Style Sheets than when it's styled with local formatting. Therefore the preferred way to
style a dynamic table is via style sheets.
Change detail line formatting based upon a data field value
An example of how to change the formatting of a line in a Detail 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 Detail Table
To change the width of a Detail Table or of a column in a Detail Table, select it (see "Selecting
an element" on page612) and type the desired width as a percentage in the respective field on
the Attributes pane.
The height of the Detail 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.
Adding leading and trailing space to a Detail Table
The best way to add extra space at the top or bottom of a detail table is to set the Table's top or
bottom margin, respectively (see "Styling a table" on page738).
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.
Hiding an empty Detail Table
The number of rows in a Detail Table is variable, as it depends on a detail table in the data.
You might want the Detail Table to be hidden when there are no data to display. There are two
ways to achieve that.
l
When creating a Detail Table, you can check the option Hide when empty. (See
"Creating a Detail Table" on page791.)
Page 793