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

Excel-style Drop-down Filter

  • 2 minutes to read

The GridControl provides an Excel-style drop-down filter. You can enable this drop-down filter for:

Tip

Demo: Excel Style Filtering

Requires installation of WPF Subscription. Download

Filter Rules Tab

The Filter Rules tab displays filter conditions allowed for the current column:

WPF_Grid_ExcelFiltering_filter_rules.png

If a filter criterion is disabled, the rules’ list hides the corresponding item. The Filter Rules tab is hidden if the rules’ list is empty. Refer to the Allowed Filters topic for more information.

Filter Values Tab

The Filter Values tab provides an Excel-style checklist:

WPF_Grid_ExcelFiltering_filter_values_strings     WPF_Grid_ExcelFiltering_filter_values

For non-nullable date-time columns in ColumnFilterMode.Value mode:

For nullable date-time columns in ColumnFilterMode.Value mode:

For non-nullable non-date-time columns:

For nullable non-date-time columns and date-time columns in ColumnFilterMode.DisplayText mode:

The Excel-style filter provides a search box that allows your end-users to find filter values:

WPF_Grid_ExcelFiltering_filter_values_search     WPF_Grid_ExcelFiltering_filter_datetime_search

Smart Excel Drop-down Filter

Starting from v18.2, the GridControl supports the smart Excel drop-down filter. You can enable this drop-down filter for:

This drop-down filter is similar to the Excel drop-down filter and offers the following advantages: