Skip to main content
Table of Contents

TTMSFNCDataGridData.RowCustomCalculation Method

Runs a user-supplied callback over ARow and returns its result.

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Syntax

FMX.TMSFNCDataGridData.hppPascalC++
function RowCustomCalculation(ARow: Integer; ACustomCalculationCallback: TTMSFNCDataGridDataCustomRowCalculationCallback = nil; AFromColumn: Integer = -1; AToColumn: Integer = -1): Double;
double __fastcall RowCustomCalculation(int ARow, _di_TTMSFNCDataGridDataCustomRowCalculationCallback ACustomCalculationCallback = _di_TTMSFNCDataGridDataCustomRowCalculationCallback(), int AFromColumn = 0xffffffff, int AToColumn = 0xffffffff);

Parameters

Name Description
ARow Zero-based row index used by the operation.
ACustomCalculationCallback Callback invoked by the operation.
AFromColumn Zero-based column index used by the operation.
AToColumn Zero-based column index used by the operation.

Returns

The computed aggregate as Double.