Change color of the gridview's grouping header?

2 posts, 0 answers
  1. Aron
    Aron avatar
    13 posts
    Member since:
    Apr 2015

    Posted 21 Apr 2015 Link to this post

    In the picture that I've attached you can see that the actual rows look fine with the white and blue color, just as i want them to look. However, the row grouping header is gray, and i can not for the life of me find a way to change the color of it. 

     

    (I want to change the color of the grouping header in C# code)

     

    Thanks

     

    A.

  2. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 21 Apr 2015 Link to this post

    Hello Aron,

    Thank you for writing.

    It is appropriate to use the ViewCellFormatting event and customize the desired cells. While the CellFormatting event is fired only for data cells, ViewCellFormatting is fired for all RadGridView cells. So if you want to format the grouping row or the header cells, you should use the ViewCellFormatting event.

    I hope this information helps. Should you have further questions, I would be glad to help.
     
    Regards,
    Dess
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top