i have context menu like
var ctxMenu = Ext.create('Ext.menu.Menu', {
items: [{ text: 'Edit', action: 'edit'}]
});
how i can add this to extjs panel? I am not seeing any suitable event in panel, like itemcontextmenu in treepanel?
Advance Thanks.
There are
itemcontextmenuandcontainercontextmenuevents inExt.tree.Panel.Update: same events exist for Ext.grid.Panel. You probably want to subscribe for both of them and do something like that: