I took the example from here: http://www.extjs.com/deploy/dev/exam...rray-grid.html
and I then changed the type of the grid(instead of GridPanel put EditorGridPanel) and then I added the following configuration option to the existing ones:
Code:
listeners : {
scope : this,
cellcontextmenu : function(grid, row, column, e){
e.preventDefault();
if(!this.cellMenu){
this.cellMenu = new Ext.menu.Menu({
items : [{
xtype : 'menuitem',
text: 'First Item'
}, '-', {
xtype :'menuitem',
text: 'Second Item'
}]
});
}
this.cellMenu.showAt(e.getXY());
}
}
I only gave it a quick spin on FF3. Hope it helps. If not, you might be doing something else wrong.