All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

PivotGridFieldCollection.AddDataSourceColumn(String, PivotArea) Method

Creates a field from the specified data source column and add it to the end of the collection.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v20.1.dll

Declaration

public PivotGridField AddDataSourceColumn(
    string columnName,
    PivotArea area
)
Public Function AddDataSourceColumn(
    columnName As String,
    area As PivotArea
) As PivotGridField

Parameters

Name Type Description
columnName String

A string that is a name of the data source column.

area PivotArea

A PivotArea value that specifies the header area.

Returns

Type Description
PivotGridField

A PivotGridField object that is the created field.

Remarks

For Optimized data engine mode, the method creates the DataSourceColumnBinding data binding for a new field instead of specifying the FieldName property.

See Also