Skip to main content

PivotGridFieldCollection.AddDataSourceColumn(String, PivotArea) Method

Adds a field to the PivotGridFieldCollection collection.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v22.1.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public PivotGridField AddDataSourceColumn(
    string columnName,
    PivotArea area
)

Parameters

Name Type Description
columnName String

A String value that specifies a column name.

area PivotArea

A PivotArea value that identifies the area in which the new PivotGridField object will be positioned.

Returns

Type Description
PivotGridField

The PivotGridField object that was added to the collection.

See Also