Skip to main content
A newer version of this page is available. .

PivotGridGroupCollection.Add(PivotGridFieldBase[]) Method

Creates a group and adds the specified fields to it.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public PivotGridGroup Add(
    params PivotGridFieldBase[] fields
)

Parameters

Name Type Description
fields PivotGridFieldBase[]

An array of fields to be added to the created group.

Returns

Type Description
PivotGridGroup

The created PivotGridGroup object.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Add(PivotGridFieldBase[]) 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.

See Also