Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
950
Disable default context menu's "Delete" option
posted

Hi ,

I am using Custom contectmenu and Default context menu. when I right clcik on row it shows Custom context menu and when I click on

 cell(I am using Fortmatted ) and right click I will see default contect menu with

cut/copy/paste/delete etc. The wiered thing is contecx menu showing Cut and Delete options as enabled some time and disabled sometimes.

I want to disable Cut and Delete options always.

Is there any way to handle Default ContextMenus menu items to disable.

 

Thanks

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    There's no way to modify the default context menu. What you would have to do is apply a ContextMenu to the grid, thus overriding the default menu and you will have to implement all of the items you want on the menu yourself.

Children
No Data