Skip to main content

PivotGridGroupCollection.Insert(Int32, PivotGridGroup) Method

Adds the specified group to the specified position within the collection.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v23.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public void Insert(
    int index,
    PivotGridGroup fieldGroup
)

Parameters

Name Type Description
index Int32

An integer value which specifies the zero-based index at which the specified group should be inserted. If it’s negative or exceeds the number of elements, an exception is raised.

fieldGroup PivotGridGroup

A PivotGridGroup object which represents the group to insert.

See Also