<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Gird Pager with a lot record</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/gird-pager-with-a-lot-record</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/discussion/gird-pager-with-a-lot-record/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>iccsi on Gird Pager with a lot record</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/gird-pager-with-a-lot-record#p29301</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/gird-pager-with-a-lot-record#p29301</guid>
        	        	<description><![CDATA[<p>I have following code to create my jqGrid which works for 30 to 70 records.</p>
<p>The pager failed to scroll when my data set return more than 300 records.</p>
<p>Because the start date and end date, it returns more 300 records sometimes. The pagers shows page 1 of 33 and view of 1 - 10 of 325 which is fine when jqGrid created.</p>
</p>
<p>I tried to click next page than the pager shows page 2 of 1 and no records to view.</p>
<p>I am able to scroll the pages when the data set return around 70 records.</p>
<p>Do I misss any information to pass the url function like ROWS, PAGE, TOTAL and TOTAL RECORDS?</p>
<p>I have jsonReader to get information, but should I send those information at run time while user click on next page.</p>
<p>Thanks in advance for the information and help,</p>
</p>
<p>Regards,</p>
</p>
<p>Iccsi,</p>
</p>
<p>&#160;$("#MyGrid").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;MyUrl.cfc?method=MyMethod&#38;StartDate=01/01/2008&#38;EndDate=05/05/2011&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [ &#39;MyID&#39;,&#39;MyName&#39;,&#39;MyDate&#39;,&#39;MyNote&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160; { name: &#39;MyID&#39;, width: 40&#160; },<br />&#160;&#160;&#160;&#160;&#160; &#160;{ name: &#39;MyName&#39;, width: 40 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;MyDate&#39;, width: 50 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;MyNote&#39;, width: 50 }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: $(&#39;#GirdPager&#39;),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 10,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [10, 20, 30],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;MyID&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: &#39;desc&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; gridview: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; autoencode: true,<br />&#160;&#160;pginput: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;My Gird&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;jsonReader: {root: "ROWS", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; page: "PAGE", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; total: "TOTAL", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; records: "RECORDS", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cell: "", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; id: "0" <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160; });</p>
]]></description>
        	        	<pubDate>Thu, 08 Aug 2013 17:20:39 +0300</pubDate>
        </item>
</channel>
</rss>