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

Header Context Menu Toggle Between Group By , UnGroup

1 Answer 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Prince M. Premnath
Top achievements
Rank 2
Prince M. Premnath asked on 11 May 2010, 06:44 PM
Hello All ,

If i group the grid with a field , is there any possibilities  to show only one item ( either group By or Un Group ) . if the grid doesn't grouped with that particular field i must show only "Group BY " on Header context menu and  vice versa , i dont wanna show both menu items at the same time
Any help will be appreciated
Thanks
-Prince

 

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 14 May 2010, 09:35 AM
Hi Prince,

You can try handling the OnHeaderMenuShowing client-side event of RadGrid and hide the desired menu items. Find more information on the controls client-side API in the below online resources:

http://www.telerik.com/help/aspnet-ajax/grid-onheadermenushowing.html
http://www.telerik.com/help/aspnet-ajax/menu_clientsidebasics.html

Greetings,
Iana
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.
Tags
Grid
Asked by
Prince M. Premnath
Top achievements
Rank 2
Answers by
Iana Tsolova
Telerik team
Share this question
or