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

Can I add a ContextMenu to the HeaderRow of my GridView?

1 Answer 12 Views
GridView
This is a migrated thread and some comments may be shown as answers.
koala
Top achievements
Rank 1
koala asked on 12 Oct 2015, 03:47 PM

I have a GridView with an ContextMenu to show/hide the columns. The ContextMenu opens always if I do a right-click in the rows or the header. Unfortunately I have some Controls in my Grid with its own ContextMenu which never opens.

Is there a safe way to add the ContextMenu for the HeaderRow?

I need the same functionality for a TreeList. 

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 15 Oct 2015, 12:46 PM
Hi Koala,

For achieving this, I suggest you taking a look at the Use RadContextMenu with a RadGridView help topic and particularly at the Display Different items depending on which part of RadGridView is clicked section.
The approach for RadTreeListView would be basically the same.

I hope this helps.

Regards,
Stefan X1
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
GridView
Asked by
koala
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or