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.GetGroupValue(Integer) Method

Determines the grouping value that corresponds to a particular field value of the current field.

#Declaration

Delphi
function GetGroupValue(ARecordIndex: Integer): Variant;

#Parameters

Name Type
ARecordIndex Integer

#Returns

Type
Variant

#Remarks

Call the GetGroupValue function to determine the grouping value that corresponds to the field value at the specified ARecordIndex record in an underlying data store. To specify a custom grouping value for a particular field value, set the field’s GroupInterval property to giCustom and handle the OnGetGroupValue event.

To determine the string representation of a grouping value (as it appears on screen), call the GetGroupValueDisplayText function.

See Also