1

I have my own ContextMenu. I want to know that how can I disable Default Column Popup Menu for DevExpress XtraGrid control and show my own ContextMenu when user right-clicks on specified Column?

firefalcon
  • 500
  • 2
  • 8
  • 21

1 Answers1

0

Check my answer to a similar question: How to add to the GRidViewColumnMenu Color und Font Editors

All you need to change is clearing the default Items collection, and instead of adding a new DXEditMenuItem, add one of these: DXMenuItem, DXCheckItem, etc., use which you need. But the idea is quite the same.

Community
  • 1
  • 1
Zoltán Tamási
  • 12,249
  • 8
  • 65
  • 93