我正在MVC 4 jqgrid中创建应用程序,我使用multiselect选项true创建了jqgrid,但是复选框列位于网格的左侧。如何将多选列选项移到右侧?
代码:
$("#ApplicationDetailsTable").jqGrid({
url: '@Url.Action("AppListDetails", "JQGridHome")',
sortable: true,
datatype: 'json',
colNames: ["no1", "name", "phone","department"],
colModel: [
{ name: "no1", index: "no1", width: 40, align: "left", stype: 'select', searchoptions: { sopt: ['eq'], value: getstaticvalue() } },
{ name: "name", index: "name", width: 60, align: "left"},
{ name: "phone", index: "phone", width: 60, align: "left" },
{ name: "department", index: "department", width: 60, align: "left", stype: 'select', searchoptions: { sopt: ['eq'], value: setdepartmentValue() } }
],
width: 650,
loadonce: true,
height: 200,
toppager: false,
pager: $("#JQGridPaging"),
rowNum: 6,
rowList: [5,10],
viewrecords: true,
hidegrid: true,
caption: "A Basic jqGrid - Read Only",
multiselect: true
}
图像
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句