nbinder
21 Jun 2007, 5:38 AM
Creating ContextMenus (yeah, that really know the context) is so easy... thank you guys.
But... why is it showing 2 context menus at the same time here? I went through your example more than twice, comparing every single part...
The standard browser context menu keeps showing up.
I once created my own context menus (without ext) long time ago and have something like "return false" in mind, but that does not change anything... my code to bring up the menu is the following:
grid.on('contextmenu', showCtxMenu, this);
function showCtxMenu(e){
CtxMenu.showAt(e.getXY());
// this line here does not help :(
return false;
}
I guess it's a simple mistake :">
But... why is it showing 2 context menus at the same time here? I went through your example more than twice, comparing every single part...
The standard browser context menu keeps showing up.
I once created my own context menus (without ext) long time ago and have something like "return false" in mind, but that does not change anything... my code to bring up the menu is the following:
grid.on('contextmenu', showCtxMenu, this);
function showCtxMenu(e){
CtxMenu.showAt(e.getXY());
// this line here does not help :(
return false;
}
I guess it's a simple mistake :">