<?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: Unable to made pagination with big XMLdata and Java RESTful !!!</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-made-pagination-with-big-xmldata-and-java-restful</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/unable-to-made-pagination-with-big-xmldata-and-java-restful/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Unable to made pagination with big XMLdata and Java RESTful !!!</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-made-pagination-with-big-xmldata-and-java-restful#p18314</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-made-pagination-with-big-xmldata-and-java-restful#p18314</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Which version is used?</p>
<p>Try to use the last one - 3.7. Go into the demo page and look in for the news in 3.7 version. There is a such example.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 30 Jun 2010 16:34:47 +0300</pubDate>
        </item>
        <item>
        	<title>aphilippe on Unable to made pagination with big XMLdata and Java RESTful !!!</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-made-pagination-with-big-xmldata-and-java-restful#p18156</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-made-pagination-with-big-xmldata-and-java-restful#p18156</guid>
        	        	<description><![CDATA[<p>Hi everybody,</p>
<p>&#160;&#160;&#160; i use RESTful to get a lot of data (more than 50 000) from my database server.</p>
<p>So, i have written a method which take parameters for pagination (i.e. page, rows, sidx and sord) and build a xml response with those parameters (&#60;rows&#62;&#60;page&#62;1&#60;/page&#62;&#60;total&#62;5710&#60;/total&#62;&#60;records&#62;57104&#60;/records&#62;&#8230;).</p>
<p>I put rowNum at 10 in the jqGrid javascript code.</p>
<p>Now, my grid show me only 10 result and arrows for naviguation through the data are disable.</p>
<p>Here is the server code that generate the xml stream:</p>
<p>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; logger.info("--- Resultat Fonction : " + resultat_2.size());<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;repxml +="&#60;rows&#62;";<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;repxml +="&#60;page&#62;" + page + "&#60;/page&#62;";<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;repxml +="&#60;total&#62;" + total_page + "&#60;/total&#62;";<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;repxml +="&#60;records&#62;" + count + "&#60;/records&#62;";<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;for(FonctionImpl fi : resultat_2){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;repxml += "&#60;row&#62;";<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;repxml += "&#60;cell&#62;" + Long.toString(fi.getId()) +"&#60;/cell&#62;";<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;repxml += "&#60;cell&#62;" + fi.getLibelle() +"&#60;/cell&#62;";<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;repxml += "&#60;cell&#62;" + fi.getDescription() +"&#60;/cell&#62;";<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;repxml += "&#60;/row&#62;";<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;repxml += "&#60;/rows&#62;";</p>
<p>thx</p></p>
]]></description>
        	        	<pubDate>Thu, 24 Jun 2010 12:47:36 +0300</pubDate>
        </item>
</channel>
</rss>