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

Grid View grouping + headers

6 Answers 103 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ron klod
Top achievements
Rank 1
ron klod asked on 27 Jun 2010, 08:53 AM
Hi,

I have 2 questions
1. is there a way to disable the grouping from the grid?
2. is there a way to remove the left side header, as exist in microsoft grid?

Ron

6 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 28 Jun 2010, 06:27 AM
Hi ron klod,

You can either disable sorting globally by setting CanUserSortColumns of RadGridView to false or set IsSortable on a specific column to disable sorting for that specific column.

You can hide the left header by setting CanUserSortColumns to Collapsed.

Hope this helps.


All the best,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
ron klod
Top achievements
Rank 1
answered on 28 Jun 2010, 04:30 PM
Hi,

what sort? I asked about the grouping option

Ron
0
Milan
Telerik team
answered on 28 Jun 2010, 05:25 PM
Hi ron klod,

Excuse me for that. Instead of IsSortable, you can use IsGroupable. To disable grouping globally you can set ShowGroupPanel to false.

Best wishes,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
ron klod
Top achievements
Rank 1
answered on 28 Jun 2010, 10:16 PM
HI,

1. Thanks for the quick response, the ShowGroupPanel was what I needed.
2. but how can I remove the left headers in the Grid, I asked it before but you said somthing about canUserSort, I don't see how this is related

Ron
0
Milan
Telerik team
answered on 29 Jun 2010, 06:35 AM
Hi ron klod,

The visibility of the row headers is controlled by a property called RowIndicatorVisibility. Setting it to false will hide the headers. 

Sorry once again and thank you for your interest in our Silverlight controls.


Greetings,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Vadims Geidans
Top achievements
Rank 1
answered on 20 Sep 2011, 11:22 AM
Hi Milan.

I've the same problem.
I need to change style or better hide grid header part related to grouping.
RowIndicatorVisibility set to Collapsed. But header related to grouping already visible.
Is any solution for this, please?

Tags
GridView
Asked by
ron klod
Top achievements
Rank 1
Answers by
Milan
Telerik team
ron klod
Top achievements
Rank 1
Vadims Geidans
Top achievements
Rank 1
Share this question
or