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
20
custom grouping
posted

Is there a support built into 2008.2 release to customize the ultragrid grouping operation?

I have a DateTime column and I would like to give the user the possibility to choose between a yearly/quarter or monthly group.

Thank you.

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi, 

    There's a property on the grid column called GroupByMode, which has a whole bunch of options including Month, Year,and Quarter.

    I'm not sure what version this feature was added in, but I think it was probably before v8.2, so take a look and see if the property shows up in intellisense.

    If it's not there, you could either upgrade, or write your own custom GroupByComparer for the column.

Children