O4WTableHeader routine
Description
Creates a "column header" in the current table with the label <text> at column <colno>.
Syntax
O4WTableHeader(text, colNo, id, style)
Parameters
The function has the following parameters:
Parameter | Description | |
---|---|---|
text | The label of the column header | |
colNo | The number of the column in which the text should be displayed. If this parameter is not populated then the next column number in sequence will be automatically used. | |
id | The id of the table. The table can be addressed by the id through style sheets individually. | |
style | When specified, the style is applied to the table that is generated. Note that style can be either the name of a style (as created by one of the O4W style functions, or as defined in an included style sheet), or it can be the returned value from one of the O4W style functions. |
Remarks
If any of the headers in the table are styled with "column spanning" via the O4WCellStyle call, you should NOT use the 'implicit' colno functionality, as the cell position will not be correct