Table

This table lists the use, (default) value(s), and description of the attributes of the Table element.

Attribute

Use

Value (default value in bold)

Description

Name

Implied

The name of the item.

SitecoreID

Implied

The unique ID of the item.

ColCount

Required

The number of columns. The default value is taken from the structure (number of cells in first row). If ColCount <= 0 -> then the table is not created. If ColCount value is less than the number of cells in the structure, then the number of cells out of structure taken over.

The number of columns always needs to be larger than 0 and can’t be left empty. The number of columns also needs to correspond with the amount of cell elements for each row in the XML.

RowCount

Implied

The number of rows. If left empty, the number of rows is determined based on the XML structure of the table.

The default value is taken from the structure (the number of rows of the table). If RowCount <= 0 -> then the table is not created. If RowCount value is less than the number of rows in the structure, the value taken over structure.

HeaderRows

Implied

The number of header rows. The row count includes the header rows. So for a table with 1 header row and 9 body rows the row count is 10.

FooterRows

Implied

The number of footer rows. The row count includes the header rows. For a table with 1 header row, 1 footer row and 8 body rows the row count is 10.

TableStyle

Required

The name of the table style to use for this table. If the style is not available in the master, the table style is created using defaults.

RepeatHeader

Implied

OncePerPage

OncePerFrame

EveryTextColumn

Sets how the table header is repeated.

RepeatFooter

Implied

OncePerPage

OncePerFrame

EveryTextColumn

Sets how the table footer is repeated.