<?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: Trigger Reload Grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid</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/bugs/trigger-reload-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>wangyf2010 on Trigger Reload Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p23737</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p23737</guid>
        	        	<description><![CDATA[<p>Hi, Tony,</p>
<p>I&#39;m using 3.8.2,</p>
<p>I&#39;m trying to use below code to reload data from server side and show specific page, like current page. $("#mygrid").setGridParam({datatype:json}).trigger("reloadGrid",[{page:5}]);</p>
<p>grid could load data from server properly, but always show first page instead of page 5.</p>
<p>I think <strong>haypet </strong>should have the same case to me, could you clarify it for me?</p>
</p>
<p>Regards</p>
<p>Simon</p>
]]></description>
        	        	<pubDate>Thu, 23 Jun 2011 17:40:24 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Trigger Reload Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15391</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15391</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>How do you set your other parameters?</p>
<p>if you want to add a parameter to the request you should</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8174' value='Select Code' data-codeid='sfcode8174' /></p>
<div class='sfcode' id='sfcode8174'>
<p>$("#mygrid").jqGrid(&#39;setGridParam&#39;,{postData:{...here your new params}});</p>
</div>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 12:14:39 +0200</pubDate>
        </item>
        <item>
        	<title>haypet on Trigger Reload Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15282</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15282</guid>
        	        	<description><![CDATA[<p>Thanks Tony,</p>
<p>On the same note... I&#39;ve notices that when I call $("#mygrid").setGridParam(&#8230;).trigger("reloadGrid",[{page:1}]); with same parametrs it does not send request, but instead uses cashed data? So I was wondering how can I force grid to do fresh request to server?</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Mon, 01 Mar 2010 22:05:32 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Trigger Reload Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15280</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15280</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This is only for the page - if you want to use other params do it so:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6758' value='Select Code' data-codeid='sfcode6758' /></p>
<div class='sfcode' id='sfcode6758'>
<p>$("#mygrid").setGridParam(...).trigger("reloadGrid",[{page:1}]);</p>
</div>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 01 Mar 2010 21:42:37 +0200</pubDate>
        </item>
        <item>
        	<title>haypet on Trigger Reload Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15277</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15277</guid>
        	        	<description><![CDATA[<p>$("#mygrid").trigger("reloadGrid",[{page:1}]);</p>
</p>
<p>works like a charm and I guess it is possible to set any parametr same way, right?</p>
]]></description>
        	        	<pubDate>Mon, 01 Mar 2010 21:25:00 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Trigger Reload Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15253</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15253</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Little confused, sorry.</p>
<p>In case when you use scroll : 1</p>
<p>please use the following code to reload the grid with certain page</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5872' value='Select Code' data-codeid='sfcode5872' /></p>
<div class='sfcode' id='sfcode5872'>
<p>$("#mygrid").trigger("reloadGrid",[{page:1}]);</p>
</div>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 01 Mar 2010 19:59:26 +0200</pubDate>
        </item>
        <item>
        	<title>haypet on Trigger Reload Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15251</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15251</guid>
        	        	<description><![CDATA[<p>Here is a link to working example that demonstrates this problem:</p>
</p>
<p><a href="http://www.arnaco.com/test/" target="_blank">http://www.arnaco.com/test/</a></p>
</p>
<p>On the page there are 2 buttons. First loads grid with 500 records, second with only 40. Please use following steps to recreate:</p>
<p>1. Click first "Reload Grid" (top left) button and see grid loads.</p>
<p>2. Scroll grid to Page #20, so it shows records 201 - 240.</p>
<p>3. Click second "Reload Grid With Less Data" button and see grid reloads, but page index is carried over from previouse request.</p>
</p>
<p>If you view source of aspx page you will see that onclick I will explicitly set {page: 1} ($(&#39;#scrolling&#39;).setGridParam({page:1, filter: 1}).trigger(&#39;reloadGrid&#39;);").</p></p>
]]></description>
        	        	<pubDate>Mon, 01 Mar 2010 19:54:31 +0200</pubDate>
        </item>
        <item>
        	<title>haypet on Trigger Reload Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15245</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p15245</guid>
        	        	<description><![CDATA[<p>I believe $("#mygrid").setGridParam({page:1}).trigger("reloadGrid") does not work when you use True Scrolling Rows (JSON, GET, URL) as it is is outline in my other post. I will try to post a working exampel later. It will keep page where it was.</p>
]]></description>
        	        	<pubDate>Sun, 28 Feb 2010 23:47:23 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Trigger Reload Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p7248</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p7248</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I hope you answered to your problem.</p>
<p>To refresh a grid at first page</p>
<p>$("#mygrid").setGridParam({page:1}).trigger("reloadGrid") or to a page what you want.</p>
<p>to preserve the current page when you push refresh button in navigator</p>
<p>$("#mygrid").navGrid("#pager",{refreshstate:&#39;current&#39;},.....);</p>
<p>Hope this helps</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 17 Jun 2009 08:57:14 +0300</pubDate>
        </item>
        <item>
        	<title>andthereitgoes on Trigger Reload Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p7213</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p7213</guid>
        	        	<description><![CDATA[<p>thanks for the reply, yes i do know i have to do jQuery(&#8221;#mygrid&#8221;).trigger(&#8221;reloadGrid&#8221;). my question was whether</p>
<p>jQuery(&#8221;#mygrid&#8221;).trigger(&#8221;reloadGrid&#8221;) and hitting the &#39;REFRESH&#39; button on the pager do the same thing?</p>
<p>REFRESH button refreshes the GRID to page 1 ( incase if you are on say page 3 of 5)</p>
<p>jQuery(&#8221;#mygrid&#8221;).trigger(&#8221;reloadGrid&#8221;) just refreshes the current page and the same page is reloaded ( so if you are on page 3 of 5 you stay on page 3 )</p>
]]></description>
        	        	<pubDate>Fri, 12 Jun 2009 07:07:35 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Trigger Reload Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p7176</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p7176</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>To use trigger("reloadGrid") you should</p>
<p>jQuery("#mygrid").trigger("reloadGrid") in order to known which grid to trigger.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 12 Jun 2009 00:24:59 +0300</pubDate>
        </item>
        <item>
        	<title>andthereitgoes on Trigger Reload Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p7143</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/trigger-reload-grid#p7143</guid>
        	        	<description><![CDATA[<p>is jQuery().trigger("reloadGrid") same as hitting the refresh button in the pager?</p>
<p>If it is, then the result is not the same.</p>
<p>Hitting refresh, reloads the grid from page 1</p>
<p>using jQuery().trigger("reloadGrid") does a refresh but stays on the same page</p>
]]></description>
        	        	<pubDate>Tue, 09 Jun 2009 10:56:15 +0300</pubDate>
        </item>
</channel>
</rss>