guides:o4w:o4w_api:o4wcellstyle

O4WCellStyle routine

(Deprecated in O4W 1.1) Creates a "style" for table contents.

O4WCELLSTYLE(stylename, #cols, #rows, align, vertalign, headerFlag)

The function has the following parameters:

ParameterDescription
stylenameThe name of the style.
#colsIf specified, the current table cell will expand across the number of columns.
#rowsIf specified, the current table cell will expand across the number of rows.
alignIf specified, the text in the cell is horizontally aligned according to its value (this can be any valid CSS "text-align" value, and O4W recognizes 0,1, and 2 as "shortcuts" for left, center, and right).
vertAlignIf specified, the text in the cell is vertically aligned according to its value (this can be any valid CSS "vertical-align" value, and O4W recognizes 0,1, and 2 as "shortcuts" for top, middle, and bottom).
headerFlagIf <headerFlag> is set to "1", the cell is styled as a table header ("th") instead of the default table detail ("td").

the style information (to use immediately with a display element or input control), and (if <stylename> is not null) defines the style by the stylename for use with one or more elements and input controls.

Since this routine has been deprecated refer to O4WTableCellOptions and O4WAlignStyle routines.

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