TTMSFNCDataGridData.RowCalculation Method
Runs an aggregate over ARow and stores the result in the named summary cell. The result persists and is re-evaluated by UpdateCalculations.
API unit family: TMSFNCDataGridData
Declaring type: TTMSFNCDataGridData
Overloads
Overload 1
Runs an aggregate over ARow and stores the result in the named summary cell. The result persists and is re-evaluated by UpdateCalculations.
procedure RowCalculation(ARow: Integer; AMethod: TTMSFNCDataGridDataCalculationMethod; ACalculationOptionsCallback: TTMSFNCDataGridDataGetRowCalculationOptionsCallback = nil; ACustomCalculationCallback: TTMSFNCDataGridDataCustomRowCalculationCallback = nil); overload;
void __fastcall RowCalculation(int ARow, TTMSFNCDataGridDataCalculationMethod AMethod, _di_TTMSFNCDataGridDataGetRowCalculationOptionsCallback ACalculationOptionsCallback = _di_TTMSFNCDataGridDataGetRowCalculationOptionsCallback(), _di_TTMSFNCDataGridDataCustomRowCalculationCallback ACustomCalculationCallback = _di_TTMSFNCDataGridDataCustomRowCalculationCallback())/* overload */;
Parameters
| Name | Description |
|---|---|
ARow |
Zero-based row 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
Runs an aggregate over multiple rows and stores results in the named summary cells.
procedure RowCalculation(ARows: TArray<Integer>; AMethod: TTMSFNCDataGridDataCalculationMethod; ACalculationOptionsCallback: TTMSFNCDataGridDataGetRowCalculationOptionsCallback = nil; ACustomCalculationCallback: TTMSFNCDataGridDataCustomRowCalculationCallback = nil); overload;
void __fastcall RowCalculation(System::DynamicArray<int> ARows, TTMSFNCDataGridDataCalculationMethod AMethod, _di_TTMSFNCDataGridDataGetRowCalculationOptionsCallback ACalculationOptionsCallback = _di_TTMSFNCDataGridDataGetRowCalculationOptionsCallback(), _di_TTMSFNCDataGridDataCustomRowCalculationCallback ACustomCalculationCallback = _di_TTMSFNCDataGridDataCustomRowCalculationCallback())/* overload */;
Parameters
| Name | Description |
|---|---|
ARows |
Zero-based row 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. |