This example demonstrates how to create an ASPxComboBox filter with "today", "yesterday" and other filtering options
See Also:
CheckComboBox filtering in the Auto Filter Row
Date range filtering in the Filter Row
Question Comments
Added By: Amith Shetty 2 at: 3/24/2014 1:45:15 PM
In the example, if i have only one record which has yesterdays day and I pick a filter of "last week", when the grid is rendered, the filter on top says "yesterday" due to the following executing first in grid_ProcessColumnAutoFilter. Is there a workaround for this?
else if (value >= start.AddDays(-1.0) &&
value <= end.AddMilliseconds(-1.0))
e.Value = "Yesterday";
The sample provided via the Run Online option generates an error when selecting from the filter dropdown.
Added By: Gosha (DevExpress Support) at: 12/17/2014 11:01:12 AMHello,
Yes, I see this behavior and I created a separate ticket on your behalf, T188556: The E1950 sample provided via the Run Online option generates an error when selecting from the filter dropdown, regarding this issue.