I am able to attach the context menu by “$$(‘dtContextMenu’).attachTo($$(‘myGrid’));”.
Need to detach the context menu from the grid.
I am able to attach the context menu by “$$(‘dtContextMenu’).attachTo($$(‘myGrid’));”.
Need to detach the context menu from the grid.
There is no detach command
You can add onBeforeShow handler to context menu and return false when menu must not be shown, instead of detaching it from the component.
Thanks Maksim