itp:table element
<itp:table
id=
rows=
columns=
>
<itp:table-label/>
( <itp:layout-hint/> )?
( <itp:row/> )*
</itp:table>
Description
The element <itp:table> defines a group of questions structured in a table grid. One or more of the rows in the table can be extended as a rowset.
Note that the KCM Master Template language currently does not allow cells to span multiple rows and/or columns.
Attributes
| Element | Description |
|---|---|
| id | Label that uniquely identifies this table within the form. |
| row | Declaration of the number of rows in the table.
Rowsets are counted as a single row regardless of the number of rows shown. |
| columns | Declaration of the number of columns in the table. |
Content
| Element | Description |
|---|---|
| <itp:table-label> | This element defines the heading of the table. |
| <itp:layout-hint> | This optional element specifies a layout hint for the table. It is only generated if the table has an LAYOUT element. |
| <itp:row> | Definition of a row of cells.
The number of <itp:row> elements must match the number declared with the rows= attribute. |
Example
<itp:table id="table1" rows="3" columns="3">
<itp:table-label>Sample table</itp:table-label>
<itp:row/>
<itp:row/>
<itp:row/>
</itp:table>