<?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: auto reload grid/cells</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/auto-reload-gridcells</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/auto-reload-gridcells/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>phicarre on auto reload grid/cells</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/auto-reload-gridcells#p12327</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/auto-reload-gridcells#p12327</guid>
        	        	<description><![CDATA[<p>I also use this method</p>
<p>setInterval(function(){jQuery(&#8221;#list1&#8243;).trigger(&#8221;reloadGrid&#8221;);}, 5000);</p>
<p>but I &#8220;see&#8221; the refresh, I mean the grid is flashing at each refresh. Normally with ajax I should not see this &#8220;flash&#8221;.</p>
<p>Did you set an appropriated property ?</p>
]]></description>
        	        	<pubDate>Mon, 23 Nov 2009 08:29:14 +0200</pubDate>
        </item>
        <item>
        	<title>jsank on auto reload grid/cells</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/auto-reload-gridcells#p11072</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/auto-reload-gridcells#p11072</guid>
        	        	<description><![CDATA[</p>
<p>Thanks for all the help - Tony and Rumen - I thought that I had tried the simple setInterval option that Tony suggested but I must have messed it up because I just tried it again and it works great!</p>
</p>
<p>Thanks again!</p>
]]></description>
        	        	<pubDate>Mon, 26 Oct 2009 08:58:09 +0200</pubDate>
        </item>
        <item>
        	<title>tony on auto reload grid/cells</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/auto-reload-gridcells#p11039</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/auto-reload-gridcells#p11039</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I think that adding this to&#160; loadComplete is not a good idea.</p>
<p>You should just after the grid is loaded do (NOT in any grid event)</p>
<p>setInterval(function(){&#160; jQuery(&#8221;#list&#8221;).trigger(&#8221;reloadGrid&#8221;); },10000);</p>
<p>Which will refresh the grid after this interval</p>
<p>Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Fri, 23 Oct 2009 11:38:57 +0300</pubDate>
        </item>
        <item>
        	<title>jsank on auto reload grid/cells</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/auto-reload-gridcells#p10958</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/auto-reload-gridcells#p10958</guid>
        	        	<description><![CDATA[</p>
<p>I gave that a shot - same result.</p>
]]></description>
        	        	<pubDate>Wed, 21 Oct 2009 13:14:06 +0300</pubDate>
        </item>
        <item>
        	<title>Rumen[Trirand] on auto reload grid/cells</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/auto-reload-gridcells#p10954</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/auto-reload-gridcells#p10954</guid>
        	        	<description><![CDATA[<p>Interesting, since this seems weird (I mean why it would take progressively longer upon each request). So can you please try the following, instead of using the loadComplete event, set a global setTimeout handler for that, e.g.</p>
</p>
<p>window.setTimeout( startAutoRefreshing, 10000);</p>
</p>
<p>and see if you get better results?</p>
]]></description>
        	        	<pubDate>Wed, 21 Oct 2009 10:39:39 +0300</pubDate>
        </item>
        <item>
        	<title>jsank on auto reload grid/cells</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/auto-reload-gridcells#p10953</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/auto-reload-gridcells#p10953</guid>
        	        	<description><![CDATA[<p>I&#39;m loving jqgrid but I have a question-</p>
</p>
<p>I used jgrid to display a queue (basically, it just shows the data in a table) - the data on the backend changes periodically so I want to refresh the grid or certains cells when those changes occur.&#160; For now, I&#39;m using the &#39;loadComplete&#39; function, the native js setInterval, and the jqgrid function trigger:</p>
<p>jQuery("#list").jqGrid...</p>
<p>&#160;... loadComplete:startAutoRefreshing</p>
</p>
<p>function startAutoRefreshing(){</p>
<p>&#160;&#160;&#160;&#160;&#160; setInterval(function(){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list").trigger("reloadGrid");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; },10000);<br />}</p>
<p>Is there a better way to do this?&#160; More importantly, I have a problem - the refreshes seem to take longer and longer.&#160; If I load the page, after 10secs I see the &#39;loading...&#39; notice pop up for a second.&#160; Ten seconds later it pops up for a little longer.&#160; After a few minutes, it pops up for the full 10 secs - effectively it never goes away.</p>
<p>Any thoughts on why this is happening?</p>
</p>
<p>Thank you!</p></p>
]]></description>
        	        	<pubDate>Wed, 21 Oct 2009 09:30:03 +0300</pubDate>
        </item>
</channel>
</rss>