Skip to main content
A newer version of this page is available. .

PivotGridGroupCollection.Insert(Int32, PivotGridGroup) Method

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

Namespace: DevExpress.XtraPivotGrid

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

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