In jqGrid, I want to disable row selection on right click. But, want to have the normal behavior (row selection on left click) enabled.
I tried to disable row selection on right click using the following code, but it does not have any effect,
onRightClickRow: function (rowid, iRow, iCol, e) {
return false;
}
Fiddler: https://jsfiddle.net/99x50s2s/235/
Expectation:
- Row should not be selected or deselected (if previously selected) on right click in a jqGrid.
I am using jqGrid 4.6.0. Any suggestion will be appreciated.