PivotGridGroupCollection.Add(PivotGridFieldBase[], String) Method

Creates a group with the specified caption, containing the specified fields.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public PivotGridGroup Add(
    PivotGridFieldBase[] fields,
    string caption
)
Public Function Add(
    fields As PivotGridFieldBase(),
    caption As String
) As PivotGridGroup

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.

See Also