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

[Solved] Getting rid of the row indicator

4 Answers 163 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.
Christian
Top achievements
Rank 1
Christian asked on 26 Aug 2009, 12:10 PM
Hi folks,

I'm currently building a silverlight 2.0 application in which a multicolumn treeview element is needed. In the solution linked in this thread, a GridView is used to display hierarchical data in combination with normal columns. So far it works quite well, but now I would like to style the GridView. To be more precise, I would like to get rid of the column headers (easily achieved with ShowColumnHeaders="False") and the row headers/row indicators, which seems to be more complicated. Could anyone give me a hint?

Christian

4 Answers, 1 is accepted

Sort by
0
Accepted
Missing User
answered on 26 Aug 2009, 12:20 PM

Hi Christian,

Please try to set the RowIndicatorVisibility property to "Collapsed":

<telerik:RadGridView x:Name="RadGridView1" RowIndicatorVisibility="Collapsed"/

Hope this helps.

Best wishes,

Anastasia
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Christian
Top achievements
Rank 1
answered on 26 Aug 2009, 12:31 PM
Hi Anastasia,

Thanks a lot. I simply overlooked this property. Works like a charm!
Now, the one thing left is to get rid of the thin gray bar which is positioned between the row indictator column and the first "normal" column. How do I loose this one?

Yours,
Christian
0
Accepted
Missing User
answered on 26 Aug 2009, 12:44 PM
Hi Christian,

The gray bar you are referring to is what we call Frozen Column Splitter, which allows to scroll only the columns on its right side. If you want to turn this functionality off and hide it you will need to set CanUserFreezeColumns="False".

Kind regards,
Anastasia
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Christian
Top achievements
Rank 1
answered on 26 Aug 2009, 12:51 PM
Hi Anastasia,

Thanks a lot again. I noticed the CanUserFreezeColumns property but of course I had no idea about it's effects.

Thanks again and have a nice day!

Christian
Tags
GridView
Asked by
Christian
Top achievements
Rank 1
Answers by
Missing User
Christian
Top achievements
Rank 1
Share this question
or