Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Drop-down Filter

A column’s drop-down filter allows you to filter data at runtime. The drop-down filter displays a column’s unique values.

To filter data against a column, an end user should click the filter button (Show Drop-down Filter Button) in a column header and select any item(s):

FilterDropdownOverview

#Availability

A user can invoke a column’s drop-down filter if the view’s DataViewBase.AllowColumnFiltering property is set to true. Grid columns contain the ColumnBase.AllowColumnFiltering property that allows you to override a view’s default behavior. You can also set a column’s ColumnBase.FilterPopupMode property to Disabled to hide the filter button from this column’s header. This option still allows users to filter this column’s data in the Filter Editor.

#Rounding Seconds for TimeOnly Values

Within the drop-down filter, TimeOnly values are rounded to minutes, ignoring seconds and milliseconds. For instance, a condition like [Time] >= 7:44 and [Time] < 7:45 is shown as [Time] = 7:44. User data is not affected.

DevExpress WPF Drop-down filter - rounding time-only values

The drop-down filter can work in different modes. Use the ColumnBase.FilterPopupMode property to change the drop-down filter’s mode.