// 获取所有选中行id var jqGridRowid=$("#jqGrid").jqGrid("getGridParam","selarrrow"); for(var i = 0; i < jqGridRowid.length; i++) { $("#jqGrid").setSelection(jqGridRowid[i], false); i--; }
// 获取所有选中行id var jqGridRowid=$("#jqGrid").jqGrid("getGridParam","selarrrow"); for(var i = 0; i < jqGridRowid.length; i++) { $("#jqGrid").setSelection(jqGridRowid[i], false); i--; }
转载于:https://www.cnblogs.com/xiaostudy/p/11010986.html