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)





  2. Dess
    Dess avatar
    2180 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.

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

Back to Top