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

  • 71886
    Suggested Answer
    Offline posted

    Hello srajeshreddy,


    Currently the default context menu is provided when the cell is in edit mode. So what you could is set the default context menu to null and then add your own custom context menu. You could populate this new menu with the desired items.

    Please note, we are making efforts to ensure all posts are addressed by an Infragistics expert. We believe that the other community members could benefit from this thread as well.

    Please do not hesitate to contact us if you need any additional assistance.