TreeListSettings.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.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v20.1.dll

Declaration

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

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:

Object Type Path to ShowHeaderFilterBlankItems
ASPxTreeList
.Settings.ShowHeaderFilterBlankItems
MVCxTreeList
.Settings.ShowHeaderFilterBlankItems
MVCxTreeList
.Settings.ShowHeaderFilterBlankItems
TreeListSettings
.Settings.ShowHeaderFilterBlankItems
TreeListSettings<RowType>
.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