Skip to main content

PivotGridGroup.RemoveAt(Int32) Method

Removes a field from the group by its index.

Namespace: DevExpress.XtraPivotGrid

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

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

Declaration

public void RemoveAt(
    int index
)

Parameters

Name Type Description
index Int32

An integer value which specifies the index of the field to remove. If negative or exceeds the number of fields within the group, an exception is raised.

Remarks

The RemoveAt method removes the field with the specified index from the PivotGridGroup.Fields collection. To remove the specified field from the group, use the PivotGridGroup.Remove method.

See Also