PivotCustomizationExtension.Bind(Object) Method
In This Article
Binds the PivotCustomizationExtension to a datasource.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public PivotCustomizationExtension Bind(
object dataObject
)
#Parameters
Name | Type | Description |
---|---|---|
data |
Object | An object specifying the bound data source. |
#Returns
Type | Description |
---|---|
Pivot |
A Pivot |
#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