The DevExpress ASP.NET Grid View (ASPxGridView) provides a powerful data filtering mechanism allowing end-users to filter dates.
A date column's dropdown header filter displays a date editor (date range picker or calendar) and a list of predefined date periods. End-users can filter the records stored in the underlying dataset by selecting the values displayed within the dropdown.
By default, the header filter is disabled, set the column's Settings.AllowHeaderFilter property to true to enable it.
To specify a date editor that is displayed in the dropdown, set the column's SettingsHeaderFilter.Mode property to one of the following values.
- DateRangeCalendar – a calendar is displayed in the filter dropdown. The calendar settings can be customized using the DateRangeCalendarSettings property.
- DateRangePicker – a date range picker is displayed in the filter dropdown. The editors' settings can be customized using the DateRangePickerSettings property.