Hi,
Using Jqgrid 3.6.2 and FF3.5 or IE7 and below there is an issue with paging numbers when the initial sortorder=desc
FF – initially displays a negative value when first scroll takes place e.g “-99 – 100 of 4000” instead of “1 – 200 of 4000”
IE7 – Displays javascript error and the loading sign does not disappear.
You can try this with your demo and having SORTORDER = DESC
HTML
…
<table id=”scrolling”></table>
<div id=”pscrolling”></div>
Java Scrpt code
jQuery(“#scrolling”).jqGrid({
scroll: 1,
url:'bigset.php',
datatype: “json”,
height: 255,
width: 600,
colNames:['Index','Name', 'Code'],
colModel:[
{name:'item_id',index:'item_id', width:65},
{name:'item',index:'item', width:150},
{name:'item_cd',index:'item_cd', width:100}
],
rowNum:100,
mtype: “GET”,
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#pscrolling',
sortname: 'item_id',
viewrecords: true,
sortorder: “desc”, //NOTE DESC AS INITIAL SORT ORDER
caption: “Loading data while scrolling”
});
Cheers
Matt