Skip to main content
A newer version of this page is available. .
Tab

ASPxGridSettings.ShowHeaderFilterBlankItems Property

Gets or sets a value that specifies whether the filter dropdown contains service filter items (‘Blanks’ and ‘Non blanks’) to allow filtering data by blank and non blank values.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool ShowHeaderFilterBlankItems { get; set; }

Property Value

Type Default Description
Boolean true

true, to display the ‘Blanks’ and ‘Non blanks’ filter items within the filter dropdown; otherwise, false.

Remarks

Use the ShowHeaderFilterBlankItems property to control whether specific ‘Blanks’ and ‘Non blanks’ filter items should be displayed in the header filter popup window. If enabled, these filter items allow end-users to filter data by blank and non blank values. You can define custom captions for these filter items by using the ASPxGridTextSettingsBase.HeaderFilterShowBlanks and ASPxGridTextSettingsBase.HeaderFilterShowNonBlanks properties.

Note

The ShowHeaderFilterBlankItems property is not in effect (the ‘Blanks’ and ‘Non blanks’ are not displayed) if the GridDataColumnSettings.HeaderFilterMode property is set to CheckedList.

See Also