Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
Problem with UltraWinGrid GroupbyMode. Cannot sort columns in expanded group.
posted

 I have set the GroupbyMode for a DateTime column to OutlookDate at Design Time.

At run time, when I group by the date column, the groups are populated correctly.

When I expand one of the groups I find that I cannot sort the rows in the group by any column other that the column that is grouped by.

The sort direction in the column headers toggles from ascending to descending but the rows are not sorted. 

Outlook analogy: I can group my emails by received date. If I expand the group of emails for last week, I cannot sort by From or Subject, but I can sort by received date.

Any suggestions ?

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    I just tested this out and I get the same results.

    This might be a necessary limitation. The grid has to sort by the grouped field first. In this case, that's a date field. And it cannot sort by date category, it has to sort by the actual dates, because that's the order you would want initially.

    So when you sort by another field, it would have no effect, unless the dates are exactly the same because they are sorted by date first.

    I'm not sure there is any way around this. It may be a necessary limitation of the way the grid does grouping. But I think it needs some looking into. So I'm going to forward this post over to Infragistics Developer Support so they can write it up for review.

Children
No Data