Column
Set the properties of a column in the table.
Allowed attributes: align, backgroundcolor, valign, width
Child elements: (none)
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. |
All cells in this column have this background color.
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 of the column. Argument can be a number (in grid cells) a length (e.g. 2cm) or a *-number (e.g. 4*).
<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.