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.v19.2.dll

Declaration

public bool AllowFilter { get; set; }
Public Property AllowFilter As Boolean

Property Value

Type Description
Boolean

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

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