<?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: Pagination doesn't works</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works</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/pagination-doesnt-works/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Pagination doesn't works</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3043</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3043</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>In your case you should set</p>
<p>{<br />total: &#8220;17&#8243;,<br />page: &#8220;1&#8243;,<br />records: &#8220;68&#8243;,</p>
<p>...</p>
<p>}</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 13 Nov 2008 06:29:11 +0200</pubDate>
        </item>
        <item>
        	<title>YamilBracho on Pagination doesn't works</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3035</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3035</guid>
        	        	<description><![CDATA[<p>Very strange...</p>
<p>Let&#39;s do something. Please return the json sample that I use and adjust your colModel accordinly...</p>
<p>Just to test...</p>
]]></description>
        	        	<pubDate>Wed, 12 Nov 2008 07:26:51 +0200</pubDate>
        </item>
        <item>
        	<title>abraxas1985 on Pagination doesn't works</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3034</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3034</guid>
        	        	<description><![CDATA[<p>In the <strong>YamilBracho&#39;s </strong>JSON example he sets records to 18 but he sets less element in the field rows.</p>
<p>This is now the JSON that I generate dinamically:</p>
<p>{"total":"17","page":"1","records":"68","rows":[{"cell":[32,"01/01/2004","01/01/2009","INT","PE0041","0","*","*","ZEROAR"]},{"cell":[1500,"01/01/2004","01/01/2009","KOR","*","*","*","*","AR08POAGEB"]},{"cell":[3000,"01/01/2004","01/01/2009","GER","*","*","*","*","AR08POAGEB"]},{"cell":[3500,"01/01/2000","01/01/2009","AUT","*","*","*","*","AR08POAGEB"]}]}</p>
<p>I set in the Jqgrid definition:</p>
<p>rowNum: 4</p>
<p>In the server I calculate the number of total pages by totalRecords taken by the query (68) divided by the number of row to view (4).</p>
<p>So i obtained 17 and I set this value on the field total.</p>
<p>Now I view 4 records in the JQgrid but the paging is not active ( there isn&#39;t any arrow active in the pager bar).</p>
]]></description>
        	        	<pubDate>Wed, 12 Nov 2008 04:09:15 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Pagination doesn't works</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3030</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3030</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The problem is that you should return exactly 3 record from the</p>
<p>server and not 5</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 11 Nov 2008 13:56:50 +0200</pubDate>
        </item>
        <item>
        	<title>YamilBracho on Pagination doesn't works</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3023</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3023</guid>
        	        	<description><![CDATA[<p>My json looks like :</p>
<p>{<br />total: "2",<br />page: "1",<br />records: "18",<br />rows :[<br />&#160; {id: "11",cell:["11","ADMISTRACI&#211;N LEGAL Y FINANZAS"]},<br />&#160; {id: "4",cell:["4","ASEGURADORA, ARREDADORA FINANCIERA Y OTROS AFINES"]},<br />&#160; {id: "16",cell:["16","CAJA DE AHORRO, COOPERATIVA O AFINES"]},<br />&#160; {id: "10",cell:["10","CENTROS EDUCATIVOS Y AFINES"]},<br />&#160; {id: "2",cell:["2","COMERCIALIZADORA DE PRODUCTOS ELECTR&#211;DOMESTICOS, COMPUTACI&#211;N, MAN"]},<br />&#160; {id: "1",cell:["1","EDITORIAL, VENTA DE LIBROS (MAYOR O DETAL) Y AFINES"]},<br />&#160; {id: "14",cell:["14","EMPRESAS DE CONSULTOR&#205;A, DESARROLLO DE SOFTWARE Y AFINES"]},<br />&#160; {id: "17",cell:["17","EMPRESAS DE SERVICIOS EN GENERAL"]},<br />&#160; {id: "15",cell:["15","FUNDACI&#211;N SIN FINES DE LUCRO"]},<br />&#160; {id: "9",cell:["9","INMOBILIARIAS, ADMINISTRADORAS DE BIENES RA&#205;CES Y AFINES"]}<br />&#160;]<br />}</p>
]]></description>
        	        	<pubDate>Tue, 11 Nov 2008 10:17:34 +0200</pubDate>
        </item>
        <item>
        	<title>abraxas1985 on Pagination doesn't works</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3021</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3021</guid>
        	        	<description><![CDATA[<p>Sure!</p>
<p>{"total":"2","page":"1","records":"3","rows":[{"cell":[1,"","","*","*","*","HONEY","*","ARSPOSIALT"]},{"cell":[2,"","","*","*","*","TORATES","*","ARMONIAUKH"]},{"cell":[3,"","","ZAF","*","*","PROMOSA","*","PROMOSAAR4"]},{"cell":[4,"","","SWE","*","*","*","*","ARMSVE5"]},{"cell":[5,"","","AUT","*","*","*","*","ARPROMOAGO"]},{"cell":[6,"","","GER","*","*","*","*","ARFERRAG"]},{"cell":[7,"","","GBR","*","*","*","*","PROMOAUGUK"]},{"cell":[8,"","","AUS","*","*","*","*","ARMAUS1308"]}]}</p>
]]></description>
        	        	<pubDate>Tue, 11 Nov 2008 09:25:20 +0200</pubDate>
        </item>
        <item>
        	<title>YamilBracho on Pagination doesn't works</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3018</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3018</guid>
        	        	<description><![CDATA[<p>Can you show the json output built in your servlet ?</p>
]]></description>
        	        	<pubDate>Tue, 11 Nov 2008 08:23:10 +0200</pubDate>
        </item>
        <item>
        	<title>abraxas1985 on Pagination doesn't works</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3016</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pagination-doesnt-works#p3016</guid>
        	        	<description><![CDATA[<p>Hi, sorry for my English!</p>
<p>I have this problem:</p>
<p>I using JQgrid + JSP + Servlet in this manner:</p>
</p>
<p>$(&#39;#submit&#39;).click(function(event) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; cruiseId = $(&#39;#cruiseID&#39;).val();<br />&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; $("#list").jqGrid({<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; url: &#39;DTSServlet?arg=&#39;+ cruiseId,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colNames:[&#39;Prior No.&#39;,&#39;Booking Start&#39;,&#39;Booking End&#39;,&#39;Mkt Code&#39;,&#39;Agent ID&#39;, &#39;Agent Type&#39;, &#39;Pax Type&#39;, &#39;Plan Code&#39; , &#39;Price ID&#39;],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colModel :[ <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;priorNo&#39;,index:&#39;priorNo&#39;, width:60},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;startDt&#39;,index:&#39;startDt&#39;, width:85},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;endDt&#39;,index:&#39;endDt&#39;, width:85},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;mktCd&#39;,index:&#39;mktCd&#39;, width:65},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;agentId&#39;,index:&#39;agentId&#39;, width:60},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;agtType&#39;,index:&#39;agtType&#39;, width:85},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;paxType&#39;,index:&#39;paxType&#39;, width:70},<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;planCd&#39;,index:&#39;planCd&#39;, width:70}, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;priceId&#39;,index:&#39;priceId&#39;, width:60}&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jsonReader: {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; root: "rows",<br />&#160;&#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; total: "total",<br />&#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; repeatitems: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cell: "cell"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 3,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; imgpath: &#39;themes/basic/images&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; pager: $(&#39;#pager&#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;Pricing Cross Reference For Cruise: &#39;<br />&#160;&#160;&#160; &#160;&#160;&#160; }).navGrid(&#39;#pager&#39;,{edit:false,add:false,del:true});<br />&#160;&#160;&#160; });<br />});</p>
</p>
<p>In the servlet I set the response with a JSONObject and I set the parameters for the jsonreader in this way:</p>
<p>total:2</p>
<p>page:1</p>
<p>records: 3</p>
<p>I create an array with 5 elements and I put inside the field rows in a JSON format.</p>
<p>Now, it display all 5 rows without paginating and not 3. Why it doesn&#39;t works?</p>
]]></description>
        	        	<pubDate>Tue, 11 Nov 2008 07:43:56 +0200</pubDate>
        </item>
</channel>
</rss>