Back to Devexpress

ASPxGridSettings.ShowHeaderFilterBlankItems Property

aspnet-devexpress-dot-web-dot-aspxgridsettings-54a6603b.md

latest2.5 KB
Original Source

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

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(true)]
public bool ShowHeaderFilterBlankItems { get; set; }
vb
<DefaultValue(True)>
Public Property ShowHeaderFilterBlankItems As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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 GridDataColumnHeaderFilterSettings.Mode property is set to CheckedList.

See Also

HeaderFilterShowBlanks

HeaderFilterShowNonBlanks

CreateShowBlanksValue

CreateShowNonBlanksValue

ASPxGridSettings Class

ASPxGridSettings Members

DevExpress.Web Namespace