如何在行上停止jqgrid multiselect,只应选中复选框来选择行 我的代码是
url:'asf/dsfs/'+json,
datatype: "json",
colNames:['id','title', 'start', 'stop','completed'],
colModel:[
{name:'id',index:'id', width:15,hidden:true, align:"center"},
{name:'title',index:'title', width:150, align:"center"},
{name:'start',index:'start', width:350, align:"center", sorttype:"date"},
{name:'fine',index:'fine', width:350, align:"center", sorttype:"date"},
{name:'completed',index:'completed', width:120, align:"center",formatter:highlight},//il solitoformatter:infractionInFormatter},
],
//rowNum:8,
//rowList:[8,10,20,30],
pager: '#pagerJobList',
sortname: 'id',
viewrecords: true,
sortorder: "desc",
multiselect: true,
subGrid: false,
autowidth: true,
height: 250,
rowheight: 300,
答案 0 :(得分:0)
在jqgrid中将此属性设置为可以正常工作 multiselect:true,
multiboxonly:true,
=>此属性仅用于选择bycheck框,而不是按身体选择,如果您按身体进行选择,那么单个选择将起作用..