PDA

View Full Version : [CLOSED]Gridpanel's cellcontextmenu not hiding default context menu



mwallenberg
29 Mar 2010, 1:54 AM
When responding to the event 'cellcontextmenu' from a gridpanel, the browser's standard right-click menu is still displayed.

I solved it in my grid panel by beginning my listener like this:


gridCellRightClicked: function(grid, rowIndex, columnIndex, event) {
event.preventDefault();
....
}

evant
29 Mar 2010, 1:57 AM
This is the intended behaviour.

If you want to stop the event, use e.stopEvent().

Marking as closed.