You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to set pagination with help of jqGrid. So, i have set rowNum as 10 (10 records per page) with the help of below configuration. But, its loading 70 records in same page. And in pagination it is showing Page 1 of 0. Please find the attached image.
Hi,
I am trying to set pagination with help of jqGrid. So, i have set rowNum as 10 (10 records per page) with the help of below configuration. But, its loading 70 records in same page. And in pagination it is showing Page 1 of 0. Please find the attached image.
$('#gridId').jqGrid({
datatype: "local",
gridView: true,
colNames: ['A','B'],
colModel: [ ...],
rowNum : 10,
loadonce: true ,
pager : '#pageDiv',
loadComplete: function() {
loadGridData();
}
});
var loadGridData = function() {$.parseJSON('$ {result}');
var data=
for(var i=0;i<=data.length;i++){
$('#gridId').addRowData(i+1, data[i]);
}
}
The text was updated successfully, but these errors were encountered: