[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Collapse]Data Grid
   [Expand]Getting Started
   [Expand]Implementation Details
   [Expand]Views
   [Expand]Grid View Data Layout
   [Expand]Binding to Data
   [Expand]Master-Detail Data Representation
   [Expand]Data Editing and Validation
   [Expand]Grouping
   [Expand]Selection
   [Collapse]Filtering and Searching
    [Collapse]Drop-down Filter
      Regular and Checked Drop-down Filters
      Date-time Drop-down Filter
      Excel-style Drop-down Filter
      Custom Drop-down Filter
     Automatic Filter Row
     Filter Editor
     Filter Elements
    [Expand]Filtering in Code
    [Expand]Search
   [Expand]Sorting
   [Expand]Data Summaries
   [Expand]Paging and Scrolling
   [Expand]Focus and Navigation
   [Expand]Conditional Formatting
   [Expand]Drag-and-Drop
   [Expand]Appearance Customization
   [Expand]MVVM Enhancements
   [Expand]Printing and Exporting
   [Expand]End-User Interaction
   [Expand]Miscellaneous
   [Expand]Performance Improvement
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]End-User Capabilities
   [Expand]Examples
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Regular and Checked Drop-down Filters

The drop-down filter can be a regular list of items (select one item at a time) or a checked list (select/check items simultaneously).

Drop-down filters for non-date-time columns are regular lists. To use a checked drop-down filter for a column, set the column's ColumnBase.FilterPopupMode property to FilterPopupMode.CheckedList.

The following table summarizes the differences between regular and checked drop-down filters:

Feature

Regular Drop-down Filter

Checked Drop-down Filter

Selection

One item at a time can be selected.

Multiple items can be selected simultaneously.

Clear filter

Click the (All) item. This cancels the current column's filters.

Click the (Select All) item.

MRU items (most recently used items)

Yes

Use the DataControlBase.AllowColumnMRUFilterList property to show/hide MRU items.

Use the DataControlBase.MRUColumnFilterListCount property to specify the maximum number of MRU items.

No

(Blanks) and (Non Blanks) items

Yes

(Blanks) - Displays records with DBNull values in the current column.

(Non Blanks) - Displays records without DBNull values in the current column.

Yes

Set DataControlBase.ImplyNullLikeEmptyStringWhenFiltering to true.

Add custom items

Yes

No

Delete individual items

Yes

Yes

Limit the number of items

Yes

A drop-down filter displays all unique values in a column. Specify the ColumnBase.ColumnFilterPopupMaxRecordsCount property to limit the number of items in the drop-down filter.

Yes

A drop-down filter displays all unique values in a column. Specify the ColumnBase.ColumnFilterPopupMaxRecordsCount property to limit the number of items in the drop-down filter.

Display only the records that meet the current filter criteria

Yes

Set the DataControlBase.ShowAllTableValuesInFilterPopup (ColumnBase.ShowAllTableValuesInFilterPopup) property to false.

Yes

Set the DataControlBase.ShowAllTableValuesInCheckedFilterPopup (ColumnBase.ShowAllTableValuesInCheckedFilterPopup) property to false.

Immediate update

Selecting an item automatically updates the column's filter and closes the drop-down filter.

Use the ColumnBase.ImmediateUpdateColumnFilter property to enable or disable automatic updates. If automatic updates are disabled, the filter is applied after the drop-down filter is closed.

Allowed filters

If AllowedBinaryFilters.Equals is disabled, the drop-down filter hides unique values.

If AllowedUnaryFilters.IsNull is disabled, the drop-down filter list hides the (Blanks) item.

If AllowedUnaryFilters.IsNotNull is disabled, the drop-down filter list hides the (NotBlanks) item.

The filter button is hidden if all these criteria are disabled.

For non-nullable columns:

For nullable columns:

For non-nullable date-time columns when the ColumnBase.RoundDateTimeForColumnFilter is true and the ColumnBase.ColumnFilterMode is Value:

For nullable date-time columns when the ColumnBase.RoundDateTimeForColumnFilter is true and the ColumnBase.ColumnFilterMode is Value:

Is this topic helpful?​​​​​​​