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
335
Group By a Column yet Keep the Column in the grid
posted

I have a grid with 3 columns, A B and C.  If I group by C, then my grid's data rows (and export to excel) will show only 2 columns, A and B, with C shown only in the group by area.  Is there a way to group by C, yet keep C in the grid data row?

Thanks

  • 469350
    Suggested Answer
    Offline posted

    Hi,

    Yes, there is a way. There's a property on the column called HiddenWhenGroupBy. So you will want to set this to false.

    The best place to do this is in the InitializeLayout event of the grid.