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

PivotGridFieldCollection.AddDataSourceColumn(String, PivotArea) Method

Adds a field to the PivotGridFieldCollection collection.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.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 has been added to the collection.

See Also