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

TcxPivotGridFieldGroup.IndexOf(TcxPivotGridField) Method

Returns the position of a particular field within the current group.

#Declaration

Delphi
function IndexOf(AField: TcxPivotGridField): Integer;

#Parameters

Name Type
AField TcxPivotGridField

#Returns

Type
Integer

#Remarks

This function returns the position of the field passed as the AField parameter within the Fields zero-based indexed collection. If the specified field doesn’t belong to the current group, a value of -1 is returned.

See Also