Table Header - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Maplets[Elements]

  

TableHeader

  

specify a header in a table

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

TableHeader(element_content)

Parameters

element_content

-

TableItem elements

Description

• 

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.

Examples

withMapletsElements:

mapletMapletBoxCellTableTableHeaderTableItemA,TableItemB,TableRowTableItemcaption=1,TableItemcaption=2,TableRowTableItemcaption=3,TableItemcaption=4,as_needed,ButtonOK,Shutdown:

MapletsDisplaymaplet

This Maplet application can be rewritten as:

withMapletsElements:

mapletMapletBoxCellTableA,B,1,2,3,4,as_needed,ButtonOK,Shutdown:

MapletsDisplaymaplet

See Also

Maplets/OtherElements

Maplets[Display]

Maplets[Elements]

Maplets[Elements][BoxCell]

Maplets[Elements][Button]

Maplets[Elements][Shutdown]

Maplets[Elements][Table]

Maplets[Elements][TableItem]

Maplets[Elements][TableRow]

Overview of Maplet Applications