How prevent reset the selection rows on jqgrid to change of page jqgrid code:
$("#jqGrid").jqGrid({
url: 'data.json',
datatype: "json",
colModel: [
{ label: 'ID', name: 'ProductID', width: 45, key: true },
{ label: 'Category Name', name: 'CategoryName', width: 75 },
{ label: 'Product Name', name: 'ProductName', width: 90 },
{ label: 'Country', name: 'Country', width: 100 },
{ label: 'Price', name: 'Price', width: 80, sorttype: 'integer' },
// sorttype is used only if the data is loaded locally or loadonce is set to true
{ label: 'Quantity', name: 'Quantity', width: 80, sorttype: 'number' }
],
loadonce: true,
viewrecords: true,
width: 780,
height: 200,
rowNum: 20,
rowList : [20,30,50],
rownumbers: true,
rownumWidth: 25,
multiselect: true,
pager: "#jqGridPager"
});
why reset selection rows in jqgrid when i change to another page.. example: I select first row, change to next page and select first row from the second page and i try get the selected rows and only return the last..dont the all selected rows...
please maybe any suggest to fix this problem..thanks..!! note..the same error on the official example of seleccion ->CheckBox selection