Skip to main content

PivotGridGroupCollection.Add(String) Method

Creates and appends a new empty group with the specified caption to the collection.

Namespace: DevExpress.XtraPivotGrid

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

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

Declaration

public void Add(
    string caption
)

Parameters

Name Type Description
caption String

A string which specifies the group’s caption. This value is assigned to the PivotGridGroup.Caption property.

Remarks

Fields can then be added to the created group via the PivotGridGroup.Add and PivotGridGroup.AddRange methods.

See Also