TTMSFNCDataGridDataCustomColumnCalculationCallback Event Type
Computes a custom aggregate for a column over an inclusive row range.
API unit family: TMSFNCDataGridData
Remarks
The callback is used only for a custom calculation. It reads the source cells through the owning data instance; the range bounds identify which rows participate and are not modified by the callback.
Parameters
| Name | Description |
|---|---|
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.