Back to Devexpress

PivotCustomizationExtension.Bind(Object) Method

aspnetmvc-devexpress-dot-web-dot-mvc-dot-pivotcustomizationextension-dot-bind-x28-system-dot-object-x29.md

latest2.1 KB
Original Source

PivotCustomizationExtension.Bind(Object) Method

Binds the PivotCustomizationExtension to a datasource.

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public PivotCustomizationExtension Bind(
    object dataObject
)
vb
Public Function Bind(
    dataObject As Object
) As PivotCustomizationExtension

Parameters

NameTypeDescription
dataObjectObject

An object specifying the bound data source.

|

Returns

TypeDescription
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

PivotCustomizationExtension Class

PivotCustomizationExtension Members

DevExpress.Web.Mvc Namespace