TTMSFNCDataGridData.GroupCalculation Method
Generic group aggregate with an explicit method enum; adds or updates the summary in the group header row for AColumn.
API unit family: TMSFNCDataGridData
Declaring type: TTMSFNCDataGridData
Overloads
Overload 1
Generic group aggregate with an explicit method enum; adds or updates the summary in the group header row for AColumn.
procedure GroupCalculation(AColumn: Integer; AMethod: TTMSFNCDataGridDataCalculationMethod; ACalculationOptionsCallback: TTMSFNCDataGridDataGetColumnCalculationOptionsCallback = nil; ACustomCalculationCallback: TTMSFNCDataGridDataCustomColumnCalculationCallback = nil); overload;
Parameters
| Name | Description |
|---|---|
AColumn |
Zero-based column index used by the operation. |
AMethod |
Mode or type that controls the operation. |
ACalculationOptionsCallback |
Callback invoked by the operation. |
ACustomCalculationCallback |
Callback invoked by the operation. |
Overload 2
Generic group aggregate over multiple columns with an explicit method enum.
procedure GroupCalculation(AColumns: TArray<Integer>; AMethod: TTMSFNCDataGridDataCalculationMethod; ACalculationOptionsCallback: TTMSFNCDataGridDataGetColumnCalculationOptionsCallback = nil; ACustomCalculationCallback: TTMSFNCDataGridDataCustomColumnCalculationCallback = nil); overload;
Parameters
| Name | Description |
|---|---|
AColumns |
Zero-based column index used by the operation. |
AMethod |
Mode or type that controls the operation. |
ACalculationOptionsCallback |
Callback invoked by the operation. |
ACustomCalculationCallback |
Callback invoked by the operation. |