TcxPivotGridGetGroupValueDisplayTextEvent Type
In This Article
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 | Tcx |
The pivot grid field that raised the event. |
AGroup |
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