Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxPivotGridField.OnGetGroupValue Event

In This Article

Occurs when a grouping value for a field value is to be determined.

#Declaration

Delphi
property OnGetGroupValue: TcxPivotGridGetGroupValueEvent read; write;

#Remarks

Handle this event to specify a custom grouping value for a particular field value. The field value is identified by the field and the record in an underlying data store which are passed as the Sender and ARecordIndex parameters, respectively. Return a custom grouping value via the AValue parameter whose value is equal by default to the field value.

To specify user-friendly text for a grouping value, handle the OnGetGroupValueDisplayText event.

Note

The OnGetGroupValue event is fired only when the field’s GroupInterval property is set to giCustom.

See Also