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.
with⁡MapletsElements:
maplet≔Maplet⁡BoxCell⁡Table⁡TableHeader⁡TableItem⁡A,TableItem⁡B,TableRow⁡TableItem⁡caption=1,TableItem⁡caption=2,TableRow⁡TableItem⁡caption=3,TableItem⁡caption=4,as_needed,Button⁡OK,Shutdown⁡:
MapletsDisplay⁡maplet
This Maplet application can be rewritten as:
maplet≔Maplet⁡BoxCell⁡Table⁡A,B,1,2,3,4,as_needed,Button⁡OK,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