Change Theme Settings
Change Theme Settings
Show All Themes

Header Filter

Company Name Not filtered
Country Not filtered
City Not filtered
Unit Price Not filtered
Quantity Not filtered
Discount Not filtered
Total Not filtered
Alfreds FutterkisteGermanyBerlin$13.25405 %$503.50
Alfreds FutterkisteGermanyBerlin$21.50200 %$430.00
Alfreds FutterkisteGermanyBerlin$43.90200 %$878.00
Alfreds FutterkisteGermanyBerlin$10.0060 %$60.00
Alfreds FutterkisteGermanyBerlin$18.00150 %$270.00
Alfreds FutterkisteGermanyBerlin$45.601525 %$513.00
Alfreds FutterkisteGermanyBerlin$18.002125 %$283.50
Alfreds FutterkisteGermanyBerlin$12.00225 %$18.00
Alfreds FutterkisteGermanyBerlin$55.00150 %$825.00
Alfreds FutterkisteGermanyBerlin$13.00220 %$20.80
Count=2,155     Sum=$1,265,793.04
Page 1 of 216 (2155 items)Prev1234567214215216Next

The DevExpress ASP.NET Grid View (ASPxGridView) provides a powerful data filtering mechanism that displays a dropdown list of all unique values within a column. Invoked by activating the column header’s filter button, end-users can filter the records stored in the underlying dataset by selecting the values displayed within the dropdown.

Additionally, end-users can filter items by entering text in the filter editor above the list. When typing a filter string, the header filter items list is automatically updated, so only the relevant items that match the filter string are displayed.

Filter dropdown buttons are disabled by default. To show filter buttons, set the Settings.ShowHeaderFilterButton property to true.

You can specify the header filter mode for a column using the SettingsHeaderFilter.Mode property.

  • In List mode, the column's header filter dropdown displays a regular list of filter items, allowing end-users to select single value.
  • In CheckedList mode, the column's header filter dropdown contains a check box list, allowing end-users to select multiple values for the filter criteria.
  • DateRangeCalendar and DateRangePicker modes are available for date columns only. You can take a look at these modes in the Date Range Header Filter demo.

The ASPxGridView allows you to create custom filter values, define filter criteria and display these values within the column's filter dropdown. To do this, handle the HeaderFilterFillItems event. In this demo, custom filter values are displayed within the 'Total' and 'Quantity' columns' filter dropdowns.

See Also: