Maplets[Elements] - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Maplets : Elements : Other Elements : Maplets/Elements/TableHeader

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

withMaplets[Elements]:

mapletMapletBoxCellTableTableHeaderTableItemA,TableItemB,TableRowTableItem'caption'=1,TableItem'caption'=2,TableRowTableItem'caption'=3,TableItem'caption'=4,'as_needed',ButtonOK,Shutdown:

Maplets[Display]maplet

This Maplet application can be rewritten as:

withMaplets[Elements]:

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

Maplets[Display]maplet

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

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam