PivotGridGroup.Add(PivotGridFieldBase) Method
In This Article
Adds the specified field to the PivotGridGroup.Fields collection of the current group.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
#Declaration
public void Add(
PivotGridFieldBase field
)
#Parameters
Name | Type | Description |
---|---|---|
field | Pivot |
A Pivot |
#Remarks
A field cannot be added to the group if it already belongs to another group. To add several fields to the group use the PivotGridGroup.AddRange method.
See Also