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

[Solved] RadGridView with no header row

2 Answers 389 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adrian
Top achievements
Rank 1
Adrian asked on 25 Jan 2011, 03:29 PM
Hi,

how can I disable or hide the header row in a RadGridView?
I've tried the following code, but could only make it larger than standard size.

<telerik:RadGridView.HeaderRowStyle>
    <Style TargetType="telerik:GridViewHeaderRow">
        <Setter Property="Height" Value="0"/>
    </Style>
</telerik:RadGridView.HeaderRowStyle>

Thanks
Adrian

2 Answers, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 25 Jan 2011, 03:42 PM
Hi Adrian,

 
Setting ShowColumnHeaders property of RadGridView to False will resolve the issue.


Kind regards,
Vanya Pavlova
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Adrian
Top achievements
Rank 1
answered on 25 Jan 2011, 04:11 PM
Thank you Vanya. This is way easier than I thought. I'm always surprised how great the Telerik controls are.
Tags
GridView
Asked by
Adrian
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Adrian
Top achievements
Rank 1
Share this question
or