See Also: tWebRow, tWebGroupConfig, String, Declaring Variables, Struct
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.
Struct tWebGroupHeader
Integer iGroupIndex
Integer iParentHeaderIndex
String sItem
Integer iItems
String sTotal
Boolean bCollapsed
End_Struct
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?
Use tWebRow.pkg
:
tWebGroupHeader {variableName}
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.