Skip to main content

PivotCustomizationExtension Class

An extension object that implements the PivotCustomization extension functionality.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public class PivotCustomizationExtension :
    ExtensionBase

Remarks

The PivotCustomizationExtension is a standalone extension that mimics the Customization Form. It can be bound to a PivotGrid extension to substitute for its Customization Form. To bind a PivotCustomizationExtension, provide its constructor with the same PivotGridSettings that were used to initialize the PivotGrid extension.

To be able to automatically fetch the collection of fields from the datasource via the ASPxPivotGrid.RetrieveFields method (MVCxPivotGrid.RetrieveFields), bind the PivotCustomizationExtension to the same datasource as the PivotGrid using the PivotCustomizationExtension.Bind or PivotCustomizationExtension.BindToOLAP method.

Use the PivotCustomizationExtensionSettings.AllowFilter and PivotCustomizationExtensionSettings.AllowSort properties to specify whether end-users are allowed to sort and filter field values via the PivotCustomizationExtension.

To specify the PivotCustomizationExtension layout, use the PivotCustomizationExtensionSettings.Layout property. To prevent end-users from applying particular layouts, use the PivotCustomizationExtensionSettings.AllowedLayouts property.

The following image shows a PivotGrid with the bound PivotCustomizationExtension.

pivotgrid_customizationcontrol

Inheritance

Object
ExtensionBase
PivotCustomizationExtension
See Also