通过点击jqgrid表格弹出需要的表格数据

2020-05-27 18:12:55易采站长站整理

closeOnEscape: true,
closeAfterEdit: true,
recreateForm: true,
afterComplete: function (response) {
if (response.responseText) {
alert(response.responseText);
}
}
},
{
zIndex: 100,
url: '/Group/CreateGroup',
closeOnEscape: true,
closeAfterEdit: true,
afterComplete: function (response) {
if (response.responseText) {
alert(response.responseText);
}
}
},
{
zIndex: 100,
url: '/Group/DeleteGroup',
closeOnEscape: true,
closeAfterEdit: true,
recreateForm: true,
msg: "你确定要删除么?",
afterComplete: function (response) {
if (response.responseText) {
alert(response.responseText);
}
}
}
);
});

ps:jqGrid清空表格中的所有行数据

jqGrid清空表格中数据的方法如下:


jQuery("#gridTable").jqGrid("clearGridData");