I have been trying to create an outlook style grouping grid that displays tasks and exhibits the following behaviour:
(I have tried to put this functionality into the Outlook2007 example so the example is familiar and I have attached this)
The user can group by any column and by more than one column
If the user groups by the Received date a custom category is derived from the date that groups batches of dates together (implemented using GroupByColumnCategorizer).
If the user clicks on the Received column in the Group drop area the group is sorted according to the group category (i.e. the Received group category sort order is toggled)
If the user clicks on the Received column header the date column is sorted according to the date cell value (i.e. the Received cell value sort order is toggled)
There are two aspects of this that I have not been able to get working
Firstly, the sorting doesn't work as expected, when clicking on the Received grid column header it does the same as clicking on the Received column header in the group drop area. I expect this is by design but I am wondering if it is possible to change this. An alternative would be to sort the columns before the group is applied but when the group is applied the same sort order is used within the group for the date (i.e. the date sort order cannot be changed). Just for info I am using a GroupByColumnCategorizer on the Received column to derive the categories from the date for grouping. My question here is, is it possible to change the sort order of the date when the group has been applied ?
Secondly, when a secondary group is added (I am using Received and then From) it does not perform the grouping correctly. In the supplied example I looked at the Older group and saw multiple Don section when I would have expected to only see 1. This only seems to happen when I am using a GroupByColumnCategorizer to customise the grouping.
Any help with these would be much appreciated
JamesOutlook Syncfusion Grid.zip