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

Change the background of column header extended bar

2 Answers 39 Views
GridView
This is a migrated thread and some comments may be shown as answers.
RAVINDRA
Top achievements
Rank 1
RAVINDRA asked on 05 May 2011, 12:40 PM
I am changing the background colour of GridViewCellHeader. I am able to change it till the columns exits. But if the column header bar is streatched and there is no last column, its not reflecting with the background colour i set and is simply showing default black colour. Please find teh attached screenshot for furthur information.

Thanks in advance
Ravindra

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 05 May 2011, 12:45 PM
Hi Ravindra,

 

This is GridViewHeaderRow, and you may change it either by creating a simple style or by editing its template:


<Style TargetType="telerik:GridViewHeaderRow">
    <Setter Property="Background" Value="Red"/>
</Style>

Best wishes,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
RAVINDRA
Top achievements
Rank 1
answered on 05 May 2011, 12:59 PM
Thanks for the response Vanya. But its not working. It is still showing same black colour even if I gave Red as u given in the style
Tags
GridView
Asked by
RAVINDRA
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
RAVINDRA
Top achievements
Rank 1
Share this question
or