Skip to content

tWebGroupHeader

See Also: tWebRow, tWebGroupConfig, String, Declaring Variables, Struct

Purpose

tWebGroupHeader is a structured type that is used to represent information about a group in the Web Application Framework lists (cWebList) and grids (cWebGrid).

You will only need to provide this data for manual grouping. See WebList Grouping for details.

Type Declaration

Struct tWebGroupHeader
    Integer iGroupIndex
    Integer iParentHeaderIndex
    String sItem
    Integer iItems
    String sTotal
    Boolean bCollapsed
End_Struct

Struct Members

  • iGroupIndex
    The group index.

  • iParentHeaderIndex
    The parent group header index (if grouping on multiple levels).

  • sItem
    The contents of the cell in the row and column being grouped.

  • iItems
    If set to a value above 0, it will be shown in the header. It is intended as an item count inside that group.

  • sTotal
    Total for group numeric totaling.

  • bCollapsed
    Indicates whether this group is collapsed or expanded.

Syntax

Use tWebRow.pkg

tWebGroupHeader {variableName}

Declaring Variables

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

tWebGroupHeader MyWebCell

See struct variables for more details on instantiating struct types.