TTMSFNCDataGridData.GroupSort Method
Sorts group header rows by their key or aggregate value in the specified direction.
API unit family: TMSFNCDataGridData
Declaring type: TTMSFNCDataGridData
Overloads
Overload 1
Sorts group header rows by their key or aggregate value in the specified direction.
procedure GroupSort(AColumn: Integer; ADirection: TTMSFNCDataGridSortDirection); overload;
Parameters
| Name | Description |
|---|---|
AColumn |
Zero-based column index used by the operation. |
ADirection |
Direction used by the operation. |
Overload 2
Multi-column group sort with optional custom comparer and sort options callback.
procedure GroupSort(AColumns: TArray<Integer>; ADirections: TArray<TTMSFNCDataGridSortDirection>; ACustomCompareCallback: TTMSFNCDataGridDataCustomCompareCallback = nil; ASortOptionsCallback: TTMSFNCDataGridDataGetSortOptionsCallback = nil); reintroduce; overload;
Parameters
| Name | Description |
|---|---|
AColumns |
Zero-based column index used by the operation. |
ADirections |
Direction used by the operation. |
ACustomCompareCallback |
Callback invoked by the operation. |
ASortOptionsCallback |
Callback invoked by the operation. |