jqgrid 不支持单选,自己自带了多选multiselect
那么单选怎么做呢,可以参考如下配置
multiselect: true, multiboxonly:true, gridComplete: hideSelectAll, beforeSelectRow: beforeSelectRow function hideSelectAll() { $("#cb_table_mycars").hide(); return(true); } function beforeSelectRow() { $("#table_mycars").jqGrid('resetSelection'); return(true); }