itp:table element
<itp:table
	id=
	rows=
	columns=
	
>
	<itp:table-label/>
	( <itp:layout-hint/> )?
	( <itp:row/> )*
</itp:table>

Description

Note

The documentation on rowsets is preliminary and subject to change.

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 ITP model language currently does not allow cells to span multiple rows and/or columns.

Attributes

id

Label that uniquely identifies this table within the form.

row

Declaraction 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

<itp:table-label>

This element defines the heading of the table.

<itp:layout-hint>

(optional) This 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>