PivotGridGroupCollection.Add(PivotGridFieldBase[], String) Method
Creates a group with the specified caption, containing the specified fields.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v22.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design
Declaration
Parameters
Name | Type | Description |
---|---|---|
fields | PivotGridFieldBase[] | An array of fields to be added to the created group. |
caption | String | A caption for the group. This value is assigned to the PivotGridGroup.Caption property. |
Returns
Type | Description |
---|---|
PivotGridGroup | The created PivotGridGroup object. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Add(PivotGridFieldBase[], String) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.