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

Disable GroupBy Option In GridView

2 Answers 16 Views
GridView
This is a migrated thread and some comments may be shown as answers.
RAVINDRA
Top achievements
Rank 1
RAVINDRA asked on 05 May 2011, 07:13 AM
Hi

I want to disable Group By Option for columns. Plaese let me know how can i do that.

Thanks
Ravindra

2 Answers, 1 is accepted

Sort by
0
Accepted
Maya
Telerik team
answered on 05 May 2011, 07:18 AM
Hi RAVINDRA,

If you want to disable the grouping functionality, you may set the IsGroupable property of your columns:

<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" IsGroupable="False">

Another possibility would be to hide the GridViewGroupPanel by setting ShowGroupPanel property of the grid to false:
<telerik:RadGridView Name="playersGrid" ShowGroupPanel="False"
                                     ItemsSource="{Binding Players}"
                                     AutoGenerateColumns="False">

 


All the best,
Maya
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
RAVINDRA
Top achievements
Rank 1
answered on 05 May 2011, 07:22 AM
Thanks a lot for the response
Tags
GridView
Asked by
RAVINDRA
Top achievements
Rank 1
Answers by
Maya
Telerik team
RAVINDRA
Top achievements
Rank 1
Share this question
or