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

Grid Column Style

1 Answer 16 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Joe Bohen
Top achievements
Rank 1
Joe Bohen asked on 04 Sep 2012, 05:08 PM
Hi,
I am using Radgrid with office black style and am applying a sort descriptor from code, this results in the column header of the sorted column being a different colour from the rest how do I change the default behaviour so that the header is the same as the others?

Regards,
Joe

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 07 Sep 2012, 12:29 PM
Hi Joe,

 You should try to predefine the template of GridViewHeaderCell using Expression Blend and change the GridViewHeaderCell_Selected which represent the header when it is selected. For more information check this help article which shows how to style RadGridView Header Cells. For your convenience please find attached a sample demo which meets your requirements.  

Regards,
Yoan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Joe Bohen
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or