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
100
Formatting the header row of a sorted column grouping.
posted

I am manually adding sorted goups with the following code to a wingrid.

Band.SortedColumns.Add(Column, SortDescending, SortGroupBy)

SortDescending and SortGroupBy are booleans that are being set in code based upon data in the DB.  When I create a 'Grouping' like this, how do I access the Header Row that is created.  I need to set some of it's appearance properties(Backcolor, FontData, etc.)

Thanks for any advice...

Parents
  • 469350
    Offline posted

    The best place to do this is in the InitializeGroupByRow event of the grid. The event args will pass in the row. 

Reply Children