<?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: Problem with the 'reload grid'</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-the-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/help/problem-with-the-reload-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>noppem on Problem with the 'reload grid'</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-the-reload-grid#p20264</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-the-reload-grid#p20264</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Thank you for your answer.</p>
<p>You&#39;re right and it is better seen with the timeout function.</p>
<p>So as I want to change the filter params and reload the grid, where do I need to do it ?</p>
<p>Where do I need to put this code ?</p>
<pre class="prettyprint">&#160; $(&#39;#list&#39;).jqGrid(&#39;setGridParam&#39;, {search: &#39;true&#39;});

&#160; $(&#39;#list&#39;).setPostDataItem(&#39;LANGUAGE_CODE&#39;, &#39;EN&#39;);

&#160; $(&#39;#list&#39;).trigger(&#39;reloadGrid&#39;);})
</pre>
]]></description>
        	        	<pubDate>Tue, 12 Oct 2010 17:35:18 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Problem with the 'reload grid'</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-the-reload-grid#p20256</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-the-reload-grid#p20256</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Not sure what you try to do &#8211; just see what is happen &#8211; if you call trigger("reloadGrid") in loadComplete &#8211; in this case you will loop endless since the loadComplete is called after the request is done and if the request is done you call trigerring the data again and again and &#8230;</p>
</p>
<p>Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Tue, 12 Oct 2010 16:48:31 +0300</pubDate>
        </item>
        <item>
        	<title>noppem on Problem with the 'reload grid'</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-the-reload-grid#p20227</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-the-reload-grid#p20227</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I face problems with the reload grid.</p>
<p>This, with a link, works like a charm:</p>
</p>
<pre class="prettyprint"><p><input type='button' class='sfcodeselect' name='sfselectit8568' value='Select Code' data-codeid='sfcode8568' /></p><div class='sfcode' id='sfcode8568'>&#60;a href=&#34;javascript:void(0)&#34; id=&#34;r&#34;&#62;reload&#60;/a&#62;<br /><br /> jQuery(&#39;#list&#39;).click(function(){<br /><br />&#160; $(&#39;#list&#39;).jqGrid(&#39;setGridParam&#39;, {search: &#39;true&#39;});<br /><br />&#160; $(&#39;#list&#39;).setPostDataItem(&#39;LANGUAGE_CODE&#39;, &#39;EN&#39;);<br /><br />&#160; $(&#39;#list&#39;).trigger(&#39;reloadGrid&#39;);<br />})<br /><br /></div></pre>
<p>But if I put this in the loadComplete of the grid, the grid is not reloaded.</p>
<p>Even if I trigger the click from the loadComplete the grid is not updated.</p>
<p>But now if I call the javascript timeout function in the loadComplete, everything is fine&#8230; or not really because in the loadComplete we have the timout which reload the grid, then it comes in the loadComplete, and the timeout, which reload the grid, then it comes in the loadComplete&#8230; I&#39;m sure it works, because  I saw it every seconds -:)  Laugh</p>
<p>More serious, does anybody have a little solution for me ? (without timeout ?)</p>
<p>Thank you in advance,</p>
<p>Michel</p>
]]></description>
        	        	<pubDate>Mon, 11 Oct 2010 14:06:33 +0300</pubDate>
        </item>
</channel>
</rss>