Skip to main content
Table of Contents

TTMSFNCDataGridDataCustomRowCalculationEvent Event Type

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

API unit family: TMSFNCDataGridData

Remarks

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

Parameters

Name Description
Sender Data object requesting the calculation.
ARow Zero-based index of the row being calculated.
AFromColumn First zero-based column index included in the calculation.
AToColumn Last zero-based column index included in the calculation.

Returns

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