Skip to main content
Table of Contents

TTMSFNCDataGridDataGroupInfo Record

Recursive grouping specification: the columns grouped at this level, the nested levels, and the sort order used to form the groups.

API unit family: TMSFNCDataGridData

Syntax

GeneratedPascalC++
TTMSFNCDataGridDataGroupInfo = record
struct DECLSPEC_DRECORD TTMSFNCDataGridDataGroupInfo

Remarks

Build values with CreateGroupInfo or CreateGroupAndSortInfo, which fill Columns and nest further levels in SubColumns.

Fields and properties

Name Type Description
Columns TArray<Integer> Zero-based indexes of the columns grouped at this level. Rows with the same values in all these columns form one group, and the values are joined with MergeDelimiter in the header.
SortColumns TArray<Integer> Zero-based indexes of the columns used to sort the rows before groups are formed. When empty, the rows are sorted by Columns.
SortDirections TArray<TTMSFNCDataGridSortDirection> Sort direction for each sort column, in the same order. Columns without an entry use the direction from the sorting options.
SubColumns TArray<TTMSFNCDataGridDataGroupInfo> Nested grouping applied within each group produced by Columns; normally holds one entry for the next level.

Used by