Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TableHeaders Element (Format)

 

Defines the headers for the columns of a table.

<TableHeaders>
  <TableColumnHeader>...</TableColumnHeader>
</TableHeaders>

Attributes and Elements

The following sections describe the attributes, child elements, and parent elements of the TableHeaders element. There must be a child element for each property of the object that is to be displayed. The column header information is displayed in the order that the child elements are specified.

Attributes

None.

Child Elements

Element

Description

TableColumnHeader Element (Format)

Optional element.

Defines the label, the width, and the alignment of the data for a column of a table view.

Parent Elements

Element

Description

TableControl Element (Format)

Defines a table format for a view.

For more information about the components of a table view, see Creating a Table View.

Example

This example shows a TableHeaders element that defines two column headers.

<TableHeaders>
  <TableColumnHeader>
    <Label>Column 1</Label)
    <Width>16</Width>
    <Alignment>Left</Alignment>
  </TableColumnHeader>
  <TableColumnHeader>
    <Label>Column 2</Label)
    <Width>10</Width>
    <Alignment>Centered</Alignment>
  </TableColumnHeader>
</TableHeaders>
Show: