<?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: Callback to setPager?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/callback-to-setpager</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/callback-to-setpager/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Callback to setPager?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/callback-to-setpager#p13747</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/callback-to-setpager#p13747</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The same can be done using onPaging event. See docs</p>
]]></description>
        	        	<pubDate>Sun, 10 Jan 2010 13:22:37 +0200</pubDate>
        </item>
        <item>
        	<title>riverguardian on Callback to setPager?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/callback-to-setpager#p13701</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/callback-to-setpager#p13701</guid>
        	        	<description><![CDATA[<p>The answer is actually really simple:</p>
</p>
<p>$(".ui-pg-selbox").bind("change", function () {</p>
<p>});</p>
</p>
<p>Hope this helps someone else!</p>
]]></description>
        	        	<pubDate>Fri, 08 Jan 2010 22:58:41 +0200</pubDate>
        </item>
        <item>
        	<title>riverguardian on Callback to setPager?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/callback-to-setpager#p13700</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/callback-to-setpager#p13700</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I was wondering if there&#39;s a default callback extension to the setPager function. The section relevant in jqgrid.js is</p>
</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;$(".ui-pg-selbox", "#" + pgcnt).bind("change", function () {</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;ts.p.page = Math.round(ts.p.rowNum * (ts.p.page - 1) / this.value - 0.5) + 1;</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;ts.p.rowNum = this.value;</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;clearVals("records");</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;populate();</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;return false</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;});</p>
</p>
<p>but I want to do a callback<strong> specifically after the change of the number of rows listed, and NOT on every single call to the URL </strong>(which can be easily done using&#160;.getPostData()).</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Fri, 08 Jan 2010 22:51:23 +0200</pubDate>
        </item>
</channel>
</rss>