<?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: Set total number of rows no traditional way</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/set-total-number-of-rows-no-traditional-way</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/set-total-number-of-rows-no-traditional-way/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Set total number of rows no traditional way</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/set-total-number-of-rows-no-traditional-way#p30093</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/set-total-number-of-rows-no-traditional-way#p30093</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>You will need to check your server side code and what is returned from the server.</p>
<p>Usually you maybe not set some parameters correct in the response.</p>
<p>Look here in the <a href="/jqgridwiki/doku.php?id=wiki:first_grid" target="_blank">docs</a>&#160; for the XML way.</p>
<p>Also look into the comments for the JSON.</p>
</p>
<p>Also you may need to look <a href="/jqgridwiki/doku.php?id=wiki:retrieving_data" target="_blank">here</a></p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 15 Jan 2014 16:29:09 +0200</pubDate>
        </item>
        <item>
        	<title>kurtjavier on Set total number of rows no traditional way</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/set-total-number-of-rows-no-traditional-way#p30074</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/set-total-number-of-rows-no-traditional-way#p30074</guid>
        	        	<description><![CDATA[<p>Greetings, please, before respond to the pagination of the grid, read what I&#39;m looking for, it is not the normal pagination.</p>
</p>
<p>I have a table in my database with more than 10.000 registers, when I load the data into the grid, the page load turns very slow. If I load the entire data (more than 10.000 of registers) and I use "pager" and "rowNum", fine, the grid page the rows.</p>
</p>
<p>But what I want to do is load from 30 to 30 rows, but I dont want to load the entire rows (the 10.000) once. I was using the event "onPaging" and I send to the server "rowNum", "page", "sortname" and "sortorder", using the function " jqGrid(&#39;getGridParam&#39;, "page") ". I receive the parameters in the server and execute the sql that returns the "rowNum" of registers, depends of the page.</p>
</p>
<p>The problem is that in the load of the grid, I load just 30 rows, because rowNum=30 and page=0, so the sql give me the 30 first registers. it is good because load fast, but the pager doesnt work, becuase I&#39;m loading just 30 registers, instead of the 10.000.</p>
</p>
<p>So, my question is, &#191; anyone have an idea to tell the grid the total rows that I have in the database, even if I load just 30 rows in page load ?, in that way the grid will page the rows, and in the "onPaging" event I handle what registers I return and show.</p>
]]></description>
        	        	<pubDate>Sat, 11 Jan 2014 09:11:09 +0200</pubDate>
        </item>
</channel>
</rss>