我在 MVC 4 jqgrid 中创建应用程序,我创建了带有多选选项 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
}
图片