设置如下:multiselect:true // multi-select checkboxes appear multiboxonly:true // checkboxes act like radio buttons where only one is selected at a time 转自http://stackoverflow.com/questions/6756131/jqgrid-single-select-checkbox…
You have to do some more stuff: 1. Set multiboxonly to true and multiselect to true 2. Define the events onSelectRow and beforeSelectRow: 3. Define global variable: var lastSel; The OnSelectRow and beforeSelectRow implementation: onSelectRow: functio…