Skip to main content
Table of Contents

TTMSFNCDataGridDataGetCustomGroupCallback Event Type

Supplies the group value of a cell during grouping, so rows can be grouped on a derived value.

API unit family: TMSFNCDataGridData

Remarks

Rows that return the same value form one group, for example the first letter of a name or the year of a date. When the callback is supplied, TTMSFNCDataGridData.OnGetCustomGroup is not fired.

Parameters

Name Description
ACell Column and row of the grouped cell.
AData Raw cell value.
ALevel Zero-based grouping level.
AGroup On entry, the cell text (prefixed with the column header when UseFirstRowAsHeader is True). Assign a new value to change the group the row belongs to and the text shown in the group header.