Skip to main content

TcxPivotGridField.GetGroupValue(Integer) Method

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

Declaration

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