TTMSFNCDataGridDataColumnCalculation Record
Defines a single column calculation: the row range to aggregate, the aggregation method, the output row, and optional callbacks for custom logic.
API unit family: TMSFNCDataGridData
Syntax
TTMSFNCDataGridDataColumnCalculation = record
Fields and properties
| Name | Type | Description |
|---|---|---|
CustomCalculationCallback |
TTMSFNCDataGridDataCustomColumnCalculationCallback |
Called to compute the value when the method is a custom calculation. |
FromRow |
Integer |
First row of the range the calculation covers. |
Method |
TTMSFNCDataGridDataCalculationMethod |
The aggregate applied to the column range, such as sum, average, minimum, or maximum. |
OptionsCallback |
TTMSFNCDataGridDataGetColumnCalculationOptionsCallback |
Called to supply the formatting options for the calculated value. Leave unassigned to use the defaults. |
OutputRow |
Integer |
Row the calculated value is written to. |
ToRow |
Integer |
Last row of the range the calculation covers. |