Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Header Filter

 
DepartmentsNot filtered
LocationNot filtered
BudgetNot filtered
Phone1Not filtered
CollapseCorporate HeadquartersMonterey$1,000,000.00(408) 555-1234
 CollapseSales and MarketingSan Francisco$22,000.00(415) 555-1234
   Field Office: CanadaToronto$500,000.00(416) 677-1000
   Field Office: East CoastBoston$500,000.00(617) 555-4234
  CollapsePacific Rim HeadquartersKuaui$600,000.00(808) 555-1234
    Field Office: SingaporeSingapore$300,000.00(606) 555-5486
    Field Office: JapanTokyo$500,000.00(707) 555-1526
   MarketingSan Francisco$1,500,000.00(415) 555-1234
  FinanceMonterey$40,000.00(408) 555-1234
 CollapseEngineeringMonterey$1,100,000.00(408) 555-1234
  CollapseConsumer Electronics Div.Burlington, VT$1,150,000.00(802) 555-1234
    Software DevelopmentMonterey$40,000.00(408) 555-1234
  CollapseSoftware Products Div.Monterey$1,200,000.00(408) 555-1234
    Quality AssuranceMonterey$48,000.00(408) 555-1234
    Customer SupportMonterey$38,000.00(408) 555-1234
    Research and DevelopmentBurlington, VT$460,000.00(802) 555-1234
    Customer ServicesBurlington, VT$850,000.00(802) 555-1234


The DevExpress ASP.NET MVC Tree List (TreeListExtension) allows end-users to filter tree list data using the header filter that displays a drop-down list of all the unique values in a column. To enable the tree list header filter, set the AllowHeaderFilter property to true. The column header's filter button activates the Header Filter, which allows end-users to filter the records stored in the underlying dataset by selecting the values displayed within the drop-down.

Filter drop-down 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 drop-down displays a regular list of filter items, allowing end-users to select a single value.
  • In CheckedList mode, the column's header filter drop-down contains a checkbox list, allowing end-users to select multiple filter criteria values.
  • DateRangeCalendar and DateRangePicker modes are available for date columns only.

The TreeList allows you to create custom filter values, define filter criteria and display these values within the column's filter dropdown. To do this, implement a method delegate specified by the HeaderFilterFillItems property. In this demo, custom filter values are displayed within the 'Budget' column's filter dropdown.