<?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: Newbie: Problems with Paging</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/newbie-problems-with-paging</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/help/newbie-problems-with-paging/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>amithasija on Newbie: Problems with Paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/newbie-problems-with-paging#p17492</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/newbie-problems-with-paging#p17492</guid>
        	        	<description><![CDATA[<p>check the solution</p>
</p>
<p><a href="http://www.trirand.com/blog/?page_id=393/help/paging-help-desperately/" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....sperately/</a></p>
]]></description>
        	        	<pubDate>Thu, 27 May 2010 16:00:54 +0300</pubDate>
        </item>
        <item>
        	<title>amithasija on Newbie: Problems with Paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/newbie-problems-with-paging#p17484</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/newbie-problems-with-paging#p17484</guid>
        	        	<description><![CDATA[<p>Hey Mike you got any solution ?</p>
</p>
<p>Thanks</p></p>
]]></description>
        	        	<pubDate>Thu, 27 May 2010 10:09:34 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Newbie: Problems with Paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/newbie-problems-with-paging#p17361</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/newbie-problems-with-paging#p17361</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This work is just in alfa stage and you can test it here:</p>
<p><a href="http://github.com/tonytomov/jqGrid/tree/dev" rel="nofollow" target="_blank"><a href="http://github.com/tonytomov/jq" rel="nofollow">http://github.com/tonytomov/jq</a>.....d/tree/dev</a></p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 20 May 2010 20:00:25 +0300</pubDate>
        </item>
        <item>
        	<title>MikeJudd on Newbie: Problems with Paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/newbie-problems-with-paging#p17260</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/newbie-problems-with-paging#p17260</guid>
        	        	<description><![CDATA[<p>I am still trying to understand how jqGrid works. I have managed to load data into my grid from the server, and I&#39;ve managed to get it to sort, but I can&#39;t get the paging to work. What I would like is to download all the data from the server at once, but only have some of it displayed in the grid. Then I would like to be able to sort the data in the grid and also page forwards and backwards. Is this possible? It looks as if I have to use the loadComplete function to change the datatype to "local" or the sorting won&#39;t work (it keeps trying to go back to the server), but then clicking the paging buttons just resorts the data instead of paging.</p>
<p>Maybe I am missing something simple? Thank you very much for your help! Here is my Javascript:</p>
<p>&#160;&#160; &#160;&#160;&#160; &#160;&#160; jQuery("#list").jqGrid({</p>
<p>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; url:MyURL,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; datatype: &#39;xml&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; loadComplete : function () {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#list").jqGrid(&#39;setGridParam&#39;,{datatype:&#39;local&#39;});<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; colNames:[&#39;Inv No&#39;,&#39;Amount&#39;,&#39;Tax&#39;,&#39;Notes&#39;],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; colModel :[ <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;invid&#39;, index:&#39;invid&#39;, width:100}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;amount&#39;, index:&#39;amount&#39;, width:80, align:&#39;right&#39;}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;tax&#39;, index:&#39;tax&#39;, width:80, align:&#39;right&#39;}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;note&#39;, index:&#39;note&#39;, width:150, sortable:true} <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; ],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; pager: $(&#39;#pager&#39;),<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; rowNum:3,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; rowList:[3,6,9],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; sortname: &#39;invid&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; sortorder: &#39;desc&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; caption: &#39;My first grid&#39;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160; })</p>
<p>and here is the XML (total of 7 rows):</p>
<p>&#60;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39;?&#62;<br />&#60;rows&#62;<br />&#60;page&#62;1&#60;/page&#62;<br />&#60;total&#62;1&#60;/total&#62;<br />&#60;records&#62;2&#60;/records&#62;<br />&#60;row id=&#39;1&#39;&#62;<br />&#60;cell&#62;101&#60;/cell&#62;<br />&#60;cell&#62;500.00&#60;/cell&#62;<br />&#60;cell&#62;15.00&#60;/cell&#62;<br />&#60;cell&#62;Testing&#60;/cell&#62;<br />&#60;/row&#62;<br />...<br />&#60;row id=&#39;7&#39;&#62;<br />&#60;cell&#62;107&#60;/cell&#62;<br />&#60;cell&#62;700.00&#60;/cell&#62;<br />&#60;cell&#62;70.00&#60;/cell&#62;<br />&#60;cell&#62;Testing7&#60;/cell&#62;<br />&#60;/row&#62;<br />&#60;/rows&#62;</p>
]]></description>
        	        	<pubDate>Tue, 18 May 2010 00:46:50 +0300</pubDate>
        </item>
</channel>
</rss>