<?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: Paging with array data</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/paging-with-array-data</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/paging-with-array-data/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Paging with array data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/paging-with-array-data#p12433</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/paging-with-array-data#p12433</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Where you read that this is possible?</p>
<p>The feature is discussed many times and it will be available in 3.7 version of the grid.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 25 Nov 2009 10:52:49 +0200</pubDate>
        </item>
        <item>
        	<title>ulix on Paging with array data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/paging-with-array-data#p12371</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/paging-with-array-data#p12371</guid>
        	        	<description><![CDATA[<p>hello,</p>
<p>I am trying to obtain pagination reading data fron an array. But it does not work <img class="spSmiley" style="margin:0" title="Cry" src="/blog/wp-content/forum-smileys/sf-cry.gif" alt="Cry" /> and I read that it is possible, but I don&#39;t succed in doing it... (Rownum and rowlist, for example, are completely ignored)</p>
<p>Can someone help me please?<img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
<p>Here the code I am trying to use, with jqgrid36rc:</p>
<p>[...]</p>
<p>jQuery(document).ready(function(){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#resize").jqGrid(<br />&#160;&#160;&#160;&#160;&#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; datatype: "clientSide",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;Inv No&#39;,&#39;Date&#39;, &#39;Client&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Notes&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel:[ {name:&#39;id&#39;,index:&#39;id&#39;, width:55}, {name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90}, {name:&#39;name&#39;,index:&#39;name asc, invdate&#39;, width:100}, {name:&#39;amount&#39;,index:&#39;amount&#39;, width:80, align:"right"}, {name:&#39;tax&#39;,index:&#39;tax&#39;, width:80, align:"right"}, {name:&#39;total&#39;,index:&#39;total&#39;, width:80,align:"right"}, {name:&#39;note&#39;,index:&#39;note&#39;, width:150, sortable:false} ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum:2,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width:700,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList:[10,20,30],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: &#39;#presize&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;invdate&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption:"New API Example",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pagination: {startIndex: 0, maxRecordsPerPage: 10}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; );<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#resize").jqGrid(&#39;navGrid&#39;,&#39;#presize&#39;,{edit:false,add:false,del:false});<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#resize").jqGrid(&#39;gridResize&#39;,{minWidth:350,maxWidth:800,minHeight:80, maxHeight:350});</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#resize").jqGrid(&#39;addRowData&#39;,1, myfirstrow);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; for (var i = 0; i &#60;= mydata1.length; i++) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#resize").jqGrid(&#39;addRowData&#39;,i+2, mydata1[i]);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; })</p>
<p>[...]</p>
</p>
<p>Thank you, Ulix.</p></p>
]]></description>
        	        	<pubDate>Mon, 23 Nov 2009 16:43:27 +0200</pubDate>
        </item>
</channel>
</rss>