Skip to main content

TcxPivotGridFieldGroup.IndexOf(TcxPivotGridField) Method

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

Declaration

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