Reputation: 1828
I am using a jQuery plugin for a grid widget, and right-clicking anywhere in the widget does not make the browser's default context-menu appear. I would like to add my own event handler on the page to reenable that menu. Every topic I found online is asking how to disable the context menu, but I'm trying to do the opposite.
Does anyone know how this can be done?
Upvotes: 0
Views: 723
Reputation: 95030
No, other than removing the grid's event handler that is preventing context menus.
If you do not remove that event handler, nothing you can do will cause a context menu to open inside the grid because the event has to bubble up to the document for its default action (the opening of a context menu) to occur.
Upvotes: 1