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.Insert(Integer,TcxPivotGridField) Method

Inserts a particular field into the specified position within the current group.

#Declaration

Delphi
procedure Insert(AIndex: Integer; AField: TcxPivotGridField);

#Parameters

Name Type
AIndex Integer
AField TcxPivotGridField

#Remarks

Use this method to add a field to a specific position within the group’s Fields zero-based indexed collection or to reposition a grouped field within this collection. The AIndex parameter represents the position of the field passed as the AField parameter. To display the field as the first or last element in the group, pass a value of 0 or set MaxInt to the AIndex parameter, respectively.

Note

The field that is inserted as the first element in a group controls the group’s visibility, its position within the control and the area. For more information, refer to the Visible, Area and AreaIndex properties, respectively.

See Also