I'm trying the jQuery Context Menu with jQuery Draggable rows in a jQGrid.
The problem I'm having is that since I added the jQuery Context Menu the draggable action is triggered on single click (as well as the normal drag). It looks a little weird when I rightclick a row to get the menu, and then click outside it on another row (to discard the menu) and that row starts following the cursor.
Does it have to do with the evt.stopPropagation();
in the following snippet from jQuery Context Menu?
$(this).mousedown( function(e) {
var evt = e;
evt.stopPropagation();
$(this).mouseup( function(e) {
e.stopPropagation();
var srcElement = $(this);
$(this).unbind('mouseup');
if( evt.button == 2 ) {
// Hide context menus that may be showing
$(".contextMenu").hide();
Is there anything I could do about it besides choosing between draggable or context menu?