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.v20.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.

Property Paths

You can access this nested property as listed below:

Show 16 property paths
Library Object Type Path to ShowHeaderFilterBlankItems
ASP.NET Controls and MVC Extensions ASPxCardView
.Settings .ShowHeaderFilterBlankItems
ASPxGridView
.Settings .ShowHeaderFilterBlankItems
ASPxVerticalGrid
.Settings .ShowHeaderFilterBlankItems
GridViewProperties
.Settings .ShowHeaderFilterBlankItems
ASP.NET Bootstrap Controls BootstrapCardView
.Settings .ShowHeaderFilterBlankItems
BootstrapGridView
.Settings .ShowHeaderFilterBlankItems
ASP.NET MVC Extensions CardViewSettings
.Settings .ShowHeaderFilterBlankItems
CardViewSettings<CardType>
.Settings .ShowHeaderFilterBlankItems
GridViewSettings
.Settings .ShowHeaderFilterBlankItems
GridViewSettings<RowType>
.Settings .ShowHeaderFilterBlankItems
MVCxCardView
.Settings .ShowHeaderFilterBlankItems
MVCxGridView
.Settings .ShowHeaderFilterBlankItems
MVCxGridViewProperties
.Settings .ShowHeaderFilterBlankItems
MVCxVerticalGrid
.Settings .ShowHeaderFilterBlankItems
VerticalGridSettings
.Settings .ShowHeaderFilterBlankItems
VerticalGridSettings<ColumnType>
.Settings .ShowHeaderFilterBlankItems

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