Skip to main content

PivotCustomizationExtensionSettings.AllowFilter Property

Gets or sets whether filtering can be applied to fields via the Customization extension.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool AllowFilter { get; set; }

Property Value

Type Description
Boolean

true if filtering can be applied to fields via the Customization extension; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowFilter
PivotGridSettings

Remarks

If the AllowFilter property is set to false, the filter button is not displayed within field headers in the PivotCustomizationExtensionSettings.

Use the PivotCustomizationExtensionSettings.AllowSort property to specify whether the sort order of field values can be toggled in the CustomizationExtension.

To specify whether to allow end-users to change sorting and filtering in the Header Areas of the PivotGrid extension, use the PivotGridOptionsCustomization.AllowSort (via PivotGridSettings.OptionsCustomization.AllowSort) and PivotGridOptionsCustomization.AllowFilter (via PivotGridSettings.OptionsCustomization.AllowFilter) properties, respectively.

The following image illustrates how to apply filtering to a field via the CustomizationExtension.

pivotgrid_FilteringInCustomizationForm

See Also