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

Header Context Menu and a Row Context Menu?

3 Answers 171 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.
Gareth Parris
Top achievements
Rank 1
Gareth Parris asked on 28 Jul 2010, 06:57 PM
Is it possible to have both a Header Context Menu and a Row Context Menu on the same grid?

I have tried to implement this using the demo code. The row context menu works fine, but when you click on the header row it does not show the Header Context Menu, it still shows the Row Context Menu. If I disable the Row Context Menu the Header Context Menu works okay.

Is this possible?

Thanks,
Gareth.

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 29 Jul 2010, 07:25 AM
Hello Gareth,

Why not use same menu for both headers and rows? You can control what items will have this menu using Opened event. 

Best wishes,
Vanya Pavlova
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
MiroslavStantic
Top achievements
Rank 1
Iron
answered on 07 Oct 2011, 12:59 PM
Hi,

I use grids in my project with header menu from your dem example (one with grouping, printing, exporting, choosing columns etc). On some of my grids I want to add context menu on the row. Once I do that my header context menu is not showing.

Is it possible to have two sperate context menus on one grid?

Thanks

Miroslav
0
Maya
Telerik team
answered on 07 Oct 2011, 01:07 PM
Hi Miroslav Stantic,

You could try to follow an approach similar to the one described in this forum thread.
 

Kind regards,
Maya
the Telerik team

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

Tags
GridView
Asked by
Gareth Parris
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
MiroslavStantic
Top achievements
Rank 1
Iron
Maya
Telerik team
Share this question
or