0

我正在使用多选 jqgrid。我有一个1500 行的jqgrid 。结果是分页的,在一页上我显示 100 个条目。

我还需要在其他页面中选择所有行。

我在用

$("#tableNm").jqGrid('getGridParam', 'selarrrow');

但它只给出当前页面选定的行..

谁能帮我?

4

2 回答 2

0

Just for some tips to begin with -

onSelectRow: function(){
   //remember which rows were selected/de-selected, 
   //via cookies, HTML5 localStorage, etc
}


loadComplete : function(){
   //fetch which rows were previously selected and highlight them if they are 
   // present in the current page
}
于 2013-01-23T15:07:41.653 回答
0

正如 Jeffery 链接的其他问题中所述,jqGrid 仅在当前页面上维护选择。您需要编写自己的应用程序级代码来维护其他页面中的选定行。

于 2013-01-23T15:02:42.787 回答