Maplets[Elements]
TableHeader
specify a header in a table
Calling Sequence
Parameters
Description
Examples
TableHeader(element_content)
element_content
-
TableItem elements
The TableHeader element specifies a header in a Maplet application table. The contents of each column in the header are defined by using the TableItem element.
Note: The table header is displayed only if the table is specified in a scroll pane, that is, a BoxCell or GridCell element with the 'vscroll' = 'as_needed' option. Otherwise, the header is not displayed. To construct a table with no header, specify a header, but do not place the table in a scroll pane.
A TableHeader element can contain TableItem elements.
Note: The number of columns in the header must equal the number of columns in each row. A TableItem in a TableHeader cannot span multiple columns.
A TableHeader element can be contained in a Table element.
withMapletsElements:
maplet≔MapletBoxCellTableTableHeaderTableItemA,TableItemB,TableRowTableItemcaption=1,TableItemcaption=2,TableRowTableItemcaption=3,TableItemcaption=4,as_needed,ButtonOK,Shutdown:
MapletsDisplaymaplet
This Maplet application can be rewritten as:
maplet≔MapletBoxCellTableA,B,1,2,3,4,as_needed,ButtonOK,Shutdown:
See Also
Maplets/OtherElements
Maplets[Display]
Maplets[Elements][BoxCell]
Maplets[Elements][Button]
Maplets[Elements][Shutdown]
Maplets[Elements][Table]
Maplets[Elements][TableItem]
Maplets[Elements][TableRow]
Overview of Maplet Applications
Download Help Document