Format the group key of a DateTime value in RadGridView
Environment
Product Version | 2018.3.911 |
Product | RadGridView for WinForms |
Description
When performing a grouping operation you may need to format or change the group value. For example if you want to group only by date and ignore the time part of a DateTime value. The bellow solution shows how you can use a custom predicate method to change the key values.
Solution
Crete a custom predicate function that is able to parse the descriptors and return the group keys.
Here is how you can assign the above method: