Skip to content

tWebCell

See Also: tWebRow, String, Declaring Variables, Struct

Purpose

tWebCell is a structured type that is used to represent information about a cell in Web Application Framework lists and grids. An array of tWebCell is a member of tWebRow.

Type Declaration

Struct tWebCell
    String sValue
    String sTooltip
    String sCssClassName
    String[] aOptions
End_Struct

Struct Members

  • sValue
    The value for this column.

  • sTooltip
    A tooltip that is shown when hovering over this grid/list cell. If left empty, the tooltip will show the value.

  • sCssClassName
    The CSS class to be used for this cell.

  • aOptions
    A string array with options used by special column types like the cWebColumnButton and cWebColumnImage. This array should have members containing:

  • The Button ID (which will be sent to OnClick)
  • The CSS class name (psBtnCSSClass) applied to this button
  • The Caption (psCaption) of the button

Syntax

Use tWebRow.pkg
:
tWebCell {variableName}

Declaring Variables

To declare tWebCell variables, use the name of the type (tWebCell) followed by the variable name.

tWebCell MyWebCell

See struct variables for more details on instantiating struct types.