Skip to main content
Table of Contents

TTMSFNCDataGridDataCustomColumnCalculationEvent Event Type

Computes a custom aggregate for a column over an inclusive row range through an object event handler.

API unit family: TMSFNCDataGridData

Remarks

The event is used for a custom calculation only when no TTMSFNCDataGridDataCustomColumnCalculationCallback is supplied. When neither is assigned, the result is 0.

Parameters

Name Description
Sender Data object requesting the calculation.
AColumn Zero-based index of the column being calculated.
ALevel Zero-based grouping level, or 0 for a calculation that is not grouped.
AFromRow First zero-based row index included in the calculation.
AToRow Last zero-based row index included in the calculation.

Returns

The aggregate value to format and write to the calculation output cell.