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

how to remove row header separator

1 Answer 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
raj
Top achievements
Rank 1
raj asked on 29 Nov 2011, 11:41 AM
Hi,
I would like to remove the thin verticle line of gridview row header, please suggest me the way , i have use the following way to change the header background but not able to remove thin vertical  lines.

 <Style  TargetType="gridView:GridViewHeaderCell">
                <Setter Property="Background" Value="#FFC8C9CB" />
                
                <Setter Property="BorderThickness" Value="0" />
            </Style>

a image is attached in which you can see the marked area which  i want to remove.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 29 Nov 2011, 12:10 PM
Hi Raj,

 
Indeed with a simple style you cannot change the inner Border of GridViewHeaderCell. You should predefine its template using Blend and remove it from there. Please use this forum thread "Grid view header row column lines" for further reference. 



Kind regards,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
raj
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or