PivotGridGroup.Add(PivotGridFieldBase) Method

Adds the specified field to the PivotGridGroup.Fields collection of the current group.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.1.Core.dll

Declaration

public void Add(
    PivotGridFieldBase field
)
Public Sub Add(
    field As PivotGridFieldBase
)

Parameters

Name Type Description
field PivotGridFieldBase

A PivotGridFieldBase descendant which represents the field to add.

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