You need to do a few more things:
1. Set multiboxonly to true and multiselect to true
2. Define the onSelectRow and beforeSelectRow :
3. Define a global variable: var lastSel ;
Implementation of onSelectRow and beforeSelectRow :
onSelectRow: function (rowId, status, e) { if (rowId == lastSel) { $(this).jqGrid("resetSelection"); lastSel = undefined; status = false; } else { lastSel = rowId; } }, beforeSelectRow: function (rowId, e) { $(this).jqGrid("resetSelection"); return true; }
source share