Column

Set the properties of a column in the table.

Child elements

(none)

Parent elements

Case, Columns, ForAll, Loop, Otherwise, SetVariable, Until, While

Attributes

align (optional)

The horizontal alignment of the table cells in this column. Can be overridden in a cell (Td).

left

The table cells are left aligned.

center

The table cells are horizontally centered.

right

The table cells are right aligned.

backgroundcolor (text, optional)

All cells in this column have this background color.

padding-left (length, optional, since version 3.1.8)

Set the left padding for the column

padding-right (length, optional, since version 3.1.8)

Set the right padding for the column

valign (optional)

The vertical alignment of the cells in this column. Can be overridden in a cell (Td).

top

The table cells are top aligned.

middle

The table cells are vertically centered.

bottom

The table cells are aligned at the bottom.

width (Number, length or *-numbers, optional)

Width of the column. Argument can be a number (in grid cells) a length (e.g. 2cm) or a *-number (e.g. 4*).

Example

See the example at Columns.

See also

The section about Columns in chapter Tables.