Table Row - Maple Help

Maplets[Elements]

 TableRow
 specify a row in a table

 Calling Sequence TableRow(element_content)

Parameters

 element_content - TableItem elements

Description

 • The TableRow element specifies a row in a Maplet application table.  The contents of each column in the row are defined by using the TableItem element.

 • A TableRow element can contain TableItem elements.
 Note: Each TableRow must have the same number of TableItem elements.  The number of TableItem elements in the TableHeader, if specified, must equal the number of TableItem elements in each TableRow.
 • A TableRow element can be contained in a Table element.

Examples

 > $\mathrm{with}\left({\mathrm{Maplets}}_{\mathrm{Elements}}\right):$
 > $\mathrm{maplet}≔\mathrm{Maplet}\left(\left[\mathrm{BoxCell}\left(\mathrm{Table}\left(\mathrm{TableHeader}\left(\mathrm{TableItem}\left(A\right),\mathrm{TableItem}\left(B\right)\right),\mathrm{TableRow}\left(\mathrm{TableItem}\left('\mathrm{caption}'=1\right),\mathrm{TableItem}\left('\mathrm{caption}'=2\right)\right),\mathrm{TableRow}\left(\mathrm{TableItem}\left('\mathrm{caption}'=3\right),\mathrm{TableItem}\left('\mathrm{caption}'=4\right)\right)\right),'\mathrm{as_needed}'\right),\mathrm{Button}\left("OK",\mathrm{Shutdown}\left(\right)\right)\right]\right):$
 > ${\mathrm{Maplets}}_{\mathrm{Display}}\left(\mathrm{maplet}\right)$

This Maplet application can be rewritten as:

 > $\mathrm{with}\left({\mathrm{Maplets}}_{\mathrm{Elements}}\right):$
 > $\mathrm{maplet}≔\mathrm{Maplet}\left(\left[\mathrm{BoxCell}\left(\mathrm{Table}\left(\left[A,B\right],\left[\left[1,2\right],\left[3,4\right]\right]\right),'\mathrm{as_needed}'\right),\mathrm{Button}\left("OK",\mathrm{Shutdown}\left(\right)\right)\right]\right):$
 > ${\mathrm{Maplets}}_{\mathrm{Display}}\left(\mathrm{maplet}\right)$