Skip to main content

Header Filter

Column headers can display Excel-style filter buttons. Clicking a filter button invokes the header filter popup window that allows you to apply filter criteria to this column.

The header filter can operate in one of four modes: List and CheckedList modes are available for all grid columns; DateRangeCalendar and DateRangePicker modes are available for date columns only, NumericRangePicker mode is available for numeric columns only.

The mode is specified at the column level using the SettingsHeaderFilter.Mode property.

Refer to the Header Filter topic for more information.

FilterPopup

The table below lists the main members that affect element appearance and functionality.

Element Members
Button Panel TreeListHeaderFilterPopupStyle.ButtonPanel
Cancel Button ASPxGridTextSettingsBase.HeaderFilterCancelButton
Filter Button TreeListSettings.ShowHeaderFilterButton,
TreeListImages.HeaderFilter
Ok Button ASPxGridTextSettingsBase.HeaderFilterOkButton
Items TreeListStyles.HeaderFilterItem,
ASPxTreeList.HeaderFilterFillItems,
TreeListSettingsBehavior.HeaderFilterMaxRowCount
Select All Item ASPxGridTextSettingsBase.HeaderFilterSelectAll
Show All Item ASPxGridTextSettingsBase.HeaderFilterShowAll
Show Blanks Item ASPxGridSettings.ShowHeaderFilterBlankItems,
ASPxGridTextSettingsBase.HeaderFilterShowBlanks
Show Non Blanks Item ASPxGridSettings.ShowHeaderFilterBlankItems,
ASPxGridTextSettingsBase.HeaderFilterShowNonBlanks
General TreeListPopupControlStyles.HeaderFilter,
TreeListPopupControlSettings.HeaderFilter
Close on Escape TreeListSettingsPopupEditForm.CloseOnEscape
Date Range Calendar Properties TreeListColumnSettingsHeaderFilter.DateRangeCalendarSettings
Date Range Picker Properties TreeListColumnSettingsHeaderFilter.DateRangePickerSettings
Date Range Periods Visibility TreeListColumnSettingsHeaderFilter.DateRangePeriodsSettings
Numeric Range Picker Properties TreeListColumnSettingsHeaderFilter.NumericRangeSpinEditSettings,
TreeListColumnSettingsHeaderFilter.NumericRangeTrackBarSettings