TTMSFNCDataGridData.ColumnCustomCalculation Method
Runs a user-supplied callback over AColumn and returns its result.
API unit family: TMSFNCDataGridData
Declaring type: TTMSFNCDataGridData
Syntax
function ColumnCustomCalculation(AColumn: Integer; ACustomCalculationCallback: TTMSFNCDataGridDataCustomColumnCalculationCallback = nil; AFromRow: Integer = -1; AToRow: Integer = -1): Double;
Parameters
| Name | Description |
|---|---|
AColumn |
Zero-based column index used by the operation. |
ACustomCalculationCallback |
Callback invoked by the operation. |
AFromRow |
Zero-based row index used by the operation. |
AToRow |
Zero-based row index used by the operation. |
Returns
The computed aggregate as Double.