Elementname: Column

Description

Set the properties of a column in the table.

Allowed attributes: align, backgroundcolor, valign, width

Child elements: (none)

Parent elements: Case, Columns, ForAll, Loop, Otherwise, 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 centerd.

right:

The table cells are right aligned.

backgroundcolor (text, optional)

All cells in this column have this background color.

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

<Table>
  <Columns>
    <Column width="14mm" />
    <Column width="2" />
    <Column width="1*" align="right" valign="top" />
    <Column width="5*" />
    <Column width="5mm" backgroundcolor="gray" />
  </Columns>
</Table>

This defines a table with five columns. The first column has a width of 14mm, the last of 5mm, the second column is two units wide (grid cells). The third and fourth column have a width of 1/6 and 5/6 of the remaining width.

See also

Table Columns

Commands

Version: 2.8.0 | Start page | Command reference | Other language: German