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 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

Is this group 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 of instantiating struct types.