2020.1

Table Of Contents
l When generating output from a template, a Dynamic Table is created slightly faster when
it's styled via Cascading Style Sheets than when it's styled with local formatting.
Here are a few tips on how to target rows and cells in a Dynamic Table.
l
There are CSS selectors with which you can target every so-maniest row (see "Styling
the first, last and nth rows" on page743).
l
In the output, Dynamic Table rows are repeated including any classes that are set on the
row and on its contents.
l
Dynamic Tables and their rows and cells have some special attributes that can be used
as selector. See: "A Dynamic Table's data- attributes" on page807.
Utility classes for text in a Dynamic Table
In order to style text in a Dynamic Table, you could use some classes for which there are style
rules in the default style sheet for Dynamic Tables (default_table_styles.css). The classes are:
l .u-text-left
l .u-text-center
l .u-text-right
l .u-text-bold
l .u-text-normal
l .u-text-italic
These classes will be applied when you choose Use CSS utility classes as Text Alignment
mode when creating a table. To change the alignment after the table has been created, select
the cell (see "Selecting an element" on page608) and then type the desired class in the
"Attributes pane" on page1024.
Note that if you selected Via inline styles as Text Alignment mode when creating the table, the
utility classes won't work, unless you remove the inline style first. Inline styles always get
applied since they are more specific. (For an explanation see "Using a more specific CSS rule"
on page729.)
Changing styles based on a data field value
Changing the styles of a row or cell in a Dynamic Table, based on the value of a data field,
requires a script. See "Using scripts in Dynamic Tables" on page876.
Page 805