PivotGridGroupCollection.Add(PivotGridFieldBase[], String) Method
In This Article
Creates a group with the specified caption, containing the specified fields.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
#Declaration
public PivotGridGroup Add(
PivotGridFieldBase[] fields,
string caption
)
#Parameters
Name | Type | Description |
---|---|---|
fields | Pivot |
An array of fields to be added to the created group. |
caption | String | A caption for the group. This value is assigned to the Pivot |
#Returns
Type | Description |
---|---|
Pivot |
The created Pivot |
See Also