<?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: loadonce=true and reloadGrid don't work :(</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/loadoncetrue-and-reloadgrid-dont-work</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/loadoncetrue-and-reloadgrid-dont-work/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on loadonce=true and reloadGrid don't work :(</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/loadoncetrue-and-reloadgrid-dont-work#p1495</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/loadoncetrue-and-reloadgrid-dont-work#p1495</guid>
        	        	<description><![CDATA[<p>Load once set the datatype automatically to local. To work this you should set the param to appropriate datatype and the call trigger something like</p>
<p>$("#mygrid").setGridParam({datatype:"xml"}).trigger(&#39;reloadGrid&#39;)</p>
]]></description>
        	        	<pubDate>Thu, 14 Aug 2008 03:20:02 +0300</pubDate>
        </item>
        <item>
        	<title>josepk on loadonce=true and reloadGrid don't work :(</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/loadoncetrue-and-reloadgrid-dont-work#p1487</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/loadoncetrue-and-reloadgrid-dont-work#p1487</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I have a page that load&#160;a grid into same page with some value getted</p>
<p>from input type and button click event.</p>
<p>I am using JSON data format from a .JSP page.</p>
<p>The first time all works well, but the seconds time the grid is not</p>
<p>calling to the server for the new data becouse the loadonce = true,</p>
<p>then I change loadonce with :</p>
<p align="left"><span style="font-size: x-small;">jQuery(</span><span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">"#grid"</span></span><span style="font-size: x-small;">).setGridParam({loadonce:</span><span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">"false"</span></span><span style="font-size: x-small;">});</span></p>
<p align="left"><span style="font-size: x-small;">jQuery(</span><span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">"#grid"</span></span><span style="font-size: x-small;">).trigger(</span><span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">"reloadGrid"</span></span><span style="font-size: x-small;">);</span></p>
<p align="left"><span style="font-size: x-small;">and I tryed too :</span></p>
<p align="left"><span style="font-size: x-small;">jQuery(<span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">"#grid"</span></span><span style="font-size: x-small;">).setGridParam({loadonce:</span><span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">false</span></span><span style="font-size: x-small;">});</span></span></p>
<p align="left"><span style="font-size: x-small;">jQuery(</span><span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">"#grid"</span></span><span style="font-size: x-small;">).setGridParam({url:</span><span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">"urlToServer"</span></span><span style="font-size: x-small;">);</span></p>
<p>but when the loadonce is fixed to true then the server is never</p>
<p>called again.</p>
<p>I need loadonce=true becouse the sort is done on client and not</p>
<p>on server.</p>
<p>how do I it?</p>
<p>is it some way to clear all data generated for the grid and construct</p>
<p>the grid again without leaving or&#160;reloading the same page?</p>
</p>
<p>thanks.</p>
<p>
<font size="2"></font></p>
<p>Josep Escofet</p></p>
]]></description>
        	        	<pubDate>Wed, 13 Aug 2008 06:40:40 +0300</pubDate>
        </item>
</channel>
</rss>