Table of Contents

TTMSFNCDataGridDataRowCalculation Record

Describes a single row-calculation rule: the aggregation method, optional callbacks for custom options and custom calculation, source column range, and the target output column.

API unit family: TMSFNCDataGridData

Syntax

TTMSFNCDataGridDataRowCalculation = record

Fields and properties

Name Type Description
CustomCalculationCallback TTMSFNCDataGridDataCustomRowCalculationCallback Called to compute the value when the method is a custom calculation.
FromColumn Integer First column of the range the calculation covers.
Method TTMSFNCDataGridDataCalculationMethod The aggregate applied to the row range, such as sum, average, minimum, or maximum.
OptionsCallback TTMSFNCDataGridDataGetRowCalculationOptionsCallback Called to supply the formatting options for the calculated value. Leave unassigned to use the defaults.
OutputColumn Integer Column the calculated value is written to.
ToColumn Integer Last column of the range the calculation covers.