Any body please help me how to do remove menu option when right clicking on DevExpress Xtra Grid Control Column header
Asked
Active
Viewed 4,662 times
1 Answers
4
You can disable it with the following property:
GridOptionsMenu.EnableColumnMenu
Which is on the Gridview.

Jay
- 5,897
- 1
- 25
- 28
-
This works, but to get the most control you should handle the event as described in the below answer. – TheGateKeeper Apr 15 '12 at 17:39
-
I can't see any reason not to use the given property to hide the entire menu at once, rather than handling the event. Certainly the event gives you more control, but that assumes you actually need all that control. – Jay Apr 16 '12 at 15:11
-
I meant if you only need to remove certain properties :P – TheGateKeeper Apr 16 '12 at 16:38
-
Well, yeah the property would definitely not be useful in that case. – Jay Apr 16 '12 at 17:00