Skip to main content

PivotCustomizationExtension.Bind(Object) Method

Binds the PivotCustomizationExtension to a datasource.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public PivotCustomizationExtension Bind(
    object dataObject
)

Parameters

Name Type Description
dataObject Object

An object specifying the bound data source.

Returns

Type Description
PivotCustomizationExtension

A PivotCustomizationExtension object that is the PivotCustomizationExtension.

Remarks

Bind the PivotCustomizationExtension to the same datasource as the PivotGrid to be able to fetch the collection of fields from the datasource via the ASPxPivotGrid.RetrieveFields method (MVCxPivotGrid.RetrieveFields). If you add fields manually to the PivotGridSettings.Fields collection, there is no need to bind the PivotCustomizationExtension to data.

See Also