guides:o4w:o4w_api:o4wtableheader

O4WTableHeader routine

Creates a "column header" in the current table with the label <text> at column <colno>.

O4WTableHeader(text, colNo, id, style)

The function has the following parameters:

ParameterDescription
textThe label of the column header
colNoThe 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.
idThe id of the table. The table can be addressed by the id through style sheets individually.
styleWhen 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.

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

  • guides/o4w/o4w_api/o4wtableheader.txt
  • Last modified: 2024/06/19 20:19
  • by 127.0.0.1