This is a migrated thread and some comments may be shown as answers.

Change color of the gridview's grouping header?

1 Answer 171 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Aron
Top achievements
Rank 1
Aron asked on 21 Apr 2015, 08:47 AM

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.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 21 Apr 2015, 10:54 AM
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.

 
Tags
GridView
Asked by
Aron
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or