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

TcxPivotGridGetGroupValueDisplayTextEvent Type

The text-related procedural type for data groups.

#Declaration

Delphi
TcxPivotGridGetGroupValueDisplayTextEvent = procedure(Sender: TcxPivotGridField; const AGroupValue: Variant; var AText: string) of object;

#Parameters

Name Type Description
Sender TcxPivotGridField

The pivot grid field that raised the event.

AGroupValue Variant

The target grouping value.

AText string

The target group’s display text.

#Remarks

The following OnGetGroupValueDisplayText event handler encloses all grouping values in parentheses:

procedure TForm1.cxPivotGrid1Field1GetGroupValueDisplayText(
  Sender: TcxPivotGridField; const AGroupValue: Variant; var AText: string);
begin
  AText := '(' + AText + ')';
end;

A pivot grid field’s OnGetGroupValueDisplayText event references the TcxPivotGridGetGroupValueDisplayTextEvent type.

See Also