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

RadGridView Header Style Problem

1 Answer 143 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Phillip
Top achievements
Rank 1
Phillip asked on 03 Mar 2011, 05:36 PM
Hello,

I am a designer and have recently been attempting to style the RadGridView column headers, but I am experiencing some issues.  I have attached a PNG screenshot of the issue I am having.

When I modify the Gradients on the "GridViewHeaderCell" style, all the fields that contain data change to the new style.  However, the leftover area that extends to the right retains the default style.

I modified all of the other color option that exist in the GridViewHeaderCell style with no success.  I have also changed all colors that exist on the "GridViewHeaderRow" style, but this still has no effect on the Grid.  I think I have changed the styles of every component that the RadGridView holds, but nothing has an effect on the portion of the datagrid that extends to the right.

Any suggestions or ideas on what may be causing this?

Thanks very much.

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 04 Mar 2011, 10:26 AM
Hello Phillip,

 
Can you verify that you have defined a style for GridViewHeaderRow?
Once you create a simple style or edit the template of GridViewHeaderRow and change its background to a different color it will be changed when you set this style explicitly in RadGridView. In case of implicit style with TargetType GridViewHeaderRow the style will not be applied. It will be very helpful if you share with us the styles you are currently using so we can investigate why the background is not changed. 


Best wishes,
Vanya Pavlova
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
GridView
Asked by
Phillip
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or