<?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: Pager values are not updating </title>
	<link>http://www.trirand.com/blog/?page_id=393/help/pager-values-are-not-updating</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/pager-values-are-not-updating/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>codecraig on Pager values are not updating </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pager-values-are-not-updating#p23513</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pager-values-are-not-updating#p23513</guid>
        	        	<description><![CDATA[<p>Got it! Had to customize the localReader, see my answer on stackoverflow: <a href="http://stackoverflow.com/questions/5537728/jqgrid-pager-not-working-with-local-datatype/6256062#6256062" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....62#6256062</a></p>
]]></description>
        	        	<pubDate>Tue, 07 Jun 2011 14:30:21 +0300</pubDate>
        </item>
        <item>
        	<title>codecraig on Pager values are not updating </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pager-values-are-not-updating#p23511</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pager-values-are-not-updating#p23511</guid>
        	        	<description><![CDATA[<p>It seems like I need the behavior of the grid when the datatype is "json" but allow me to hand it the data. So far, this doesn&#39;t seem possible. any thoughts?</p>
]]></description>
        	        	<pubDate>Tue, 07 Jun 2011 14:16:28 +0300</pubDate>
        </item>
        <item>
        	<title>codecraig on Pager values are not updating </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pager-values-are-not-updating#p23505</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pager-values-are-not-updating#p23505</guid>
        	        	<description><![CDATA[<p>*ping* ...anyone?</p>
</p>
<p>thanks in advance.</p>
]]></description>
        	        	<pubDate>Tue, 07 Jun 2011 12:00:21 +0300</pubDate>
        </item>
        <item>
        	<title>codecraig on Pager values are not updating </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pager-values-are-not-updating#p23492</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pager-values-are-not-updating#p23492</guid>
        	        	<description><![CDATA[</p>
<p>I have a "local" jqgrid setup and it&#39;s showing my data but the pager values aren&#39;t completely accurate. I suppose it&#39;s because I&#39;m not sure how to update the pager values after I set the &#39;data&#39; property on the grid. Here&#39;s what I am doing.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8396' value='Select Code' data-codeid='sfcode8396' /></p>
<div class='sfcode' id='sfcode8396'>
<p>var grid = $(&#39;#table&#39;).jqGrid({</p>
<p>&#160; datatype: &#39;local&#39;,</p>
<p>&#160; altRows: true,</p>
<p>&#160; colModel: [</p>
<p>&#160; &#160; {name: &#39;0&#39;, label: &#34;Name&#34;},</p>
<p>&#160; &#160; {name: &#39;1&#39;, label: &#34;Color&#34;},</p>
<p>&#160; ],</p>
<p>&#160; pager: &#34;#pager&#34;,</p>
<p>&#160; rowNum: 15,</p>
<p>&#160; sortname: &#39;0&#39;,</p>
<p>&#160; viewrecords: true,</p>
<p>&#160; gridview: true,</p>
<p>&#160; height: &#39;100%&#39;,</p>
<p>&#160; autowidth: &#39;100%&#39;</p>
<p>});</p>
</p>
<p>grid.setGridParam({data: results.rows}).trigger(&#39;reloadGrid&#39;);</p>
</div>
<p>My "results" is an object like this:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6493' value='Select Code' data-codeid='sfcode6493' /></p>
<div class='sfcode' id='sfcode6493'>{page: &#34;1&#34;, total: &#34;70&#34;, records: &#34;1045&#34;, rows:[.....]}</div>
</p>
<p>When I first get data, the "results" object has 15 rows. How can I tell the pager that there are 70 pages and a total 1,045 rows available? Right now it shows "page 1 of 1" and "view 1 - 15 of 15".</p>
</p>
<p>Thanks!</p></p>
]]></description>
        	        	<pubDate>Mon, 06 Jun 2011 20:33:53 +0300</pubDate>
        </item>
</channel>
</rss>