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

How to hide show header?

2 Answers 54 Views
GridView
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 20 Sep 2011, 04:35 PM
I have a grid ,and I want to remove from it rowheaders, but I don't see any property to set it

This is my grid:

<telerik:RadGridView x:Name="grdSrL" IsEnabled="{Binding DataContainerIsEnabled}"
                                                         AutoGenerateColumns="False"
                                                         SelectionMode="Single"
                                                         IsReadOnly="False"
                                                         IsFilteringAllowed="True"
                                                         VerticalAlignment="Stretch"
                                 
                                                         HorizontalAlignment="Stretch"
                                                         CanUserDeleteRows="False"
                                                         CanUserInsertRows="False"
                                                         CanUserReorderColumns="False"
                                                         CanUserResizeColumns="True"
                                     ItemsSource="{Binding ShowroomLogs}"
                                     SelectedItem="{Binding SelectedShowroomLog, Mode=TwoWay}"
                                    >

To more clearity: in the image I mark what I don't want

Best regards

2 Answers, 1 is accepted

Sort by
0
Accepted
Maya
Telerik team
answered on 20 Sep 2011, 05:12 PM
Hello John,

You may set RowIndicatorVisibility property of the grid to "Collapsed":

<telerik:RadGridViewRowIndicatorVisibility="Collapsed"/>

 

Best wishes,
Maya
the Telerik team

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

0
John
Top achievements
Rank 1
answered on 21 Sep 2011, 09:18 AM
Thank you Maya ! It works
Tags
GridView
Asked by
John
Top achievements
Rank 1
Answers by
Maya
Telerik team
John
Top achievements
Rank 1
Share this question
or