v15.2
This example is now obsolete. Starting with v15.2, we implemented a new GridViewDataColumnHeaderFilterSettings.Mode property. Please refer to the Date Range Header Filter demo.
For older versions:
This example demonstrates how to implement date range filtering in the GridView extension.
Use the MVCxGridViewColumn.SetFilterTemplateContent method to create a custom editor and assign a delegate method to the GridViewSettings.ProcessColumnAutoFilter property to process a custom filter expression sent from the client side.
See also:
E1990: Date range filtering in the Filter Row
Question Comments
Added By: Gustavo Sainz at: 11/11/2014 11:08:43 AM
I can't make it to work, as the ProcessColumnAutoFilter does not trigger when settings the grid to use
settings.CustomBindingRouteValuesCollection.Add(GridViewOperationType.Filtering, new { Controller = "ViewDate", Action = "AdvancedCustomBindingFilteringAction", key = "-1" });
Any idea how to resolve this?
Added By: Vladimir (DevExpress Support) at: 11/11/2014 10:25:08 PMHello,
To process your recent post more efficiently, I created a separate ticket on your behalf: T171947: The ProcessColumnAutoFilter does not trigger. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.