SfDataGrid control allows you to group a column with DateTime data, however it will display the entire DateTime value including the time part in its cells, like in the following screenshot.
If you do not want to display the time part of the DateTime object then apply Format to the corresponding column. Refer the below code example.
In the following screenshot note the DateTime data in the ShippingDate column.
The following screenshot shows the final outcome upon execution of the above code
Since we have returned a string value in the converter, the groups are sorted considering the GroupKey values as string. If you want to sort the groups considering it to be DateTime value then you need to write a SortComparer for it.
Refer the following code example to create a custom SortComparer
The following screenshot shows the final outcome without time and proper sort order
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|