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

sValues

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

String array with options used by special column types like the cWebColumnButton and cWebColumnImage.

This array should have members containing:

  1. The Button ID (which will be sent to OnClick)

  2. The CSS class name (psBtnCSSClass) applied to this button

  3. 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 of instantiating struct types.