<?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: Client side sort with dynamic url</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-sort-with-dynamic-url</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/client-side-sort-with-dynamic-url/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>aarati on Client side sort with dynamic url</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-sort-with-dynamic-url#p22598</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-sort-with-dynamic-url#p22598</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>Hello Aarati,</p>
<p>if you don&#39;t want or don&#39;t can implement data sorting on the server you can use <strong>loadonce:true</strong>. In the case after the data will be loaded the jqGrid change the origival <strong>datatype</strong> paremeter of jqGrid to <strong>&#39;local&#39;</strong>. After that all operations: sorting, paging and filtering/sorting work local. If you need refresh the data you can set <strong>datatype</strong>&#160;paremeter of jqGrid to its original value (&#39;json&#39; or &#39;xml&#39;) and then trigger "reloadGrid". See almost the same answer <a href="http://stackoverflow.com/questions/5397671/jqgrid-reloadgrid-with-loadonce-set-to-true/5398136#5398136" target="_blank">here</a>.</p>
<p>Best regards<br />Oleg&#160;</p>
</blockquote>
<hr />
<p>Thank you Oleg. The&#160;reply was very very useful. Got the client side sorting to work.<img class="spSmiley" style="margin:0" title="Smile" src="/blog/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /></p>
<p>&#160;I am now setting loadonce:true and reloading the grid with datatype:json.&#160;I did not want to provide&#160;server side sorting, since I wanted to make use of the sorting feature provided by the grid.</p>
</p>
<p>Regards,</p>
<p>Aarati</p>
]]></description>
        	        	<pubDate>Wed, 30 Mar 2011 10:33:35 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Client side sort with dynamic url</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-sort-with-dynamic-url#p22553</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-sort-with-dynamic-url#p22553</guid>
        	        	<description><![CDATA[<p>Hello Aarati,</p>
<p>if you don&#39;t want or don&#39;t can implement data sorting on the server you can use <strong>loadonce:true</strong>. In the case after the data will be loaded the jqGrid change the origival <strong>datatype</strong> paremeter of jqGrid to <strong>&#39;local&#39;</strong>. After that all operations: sorting, paging and filtering/sorting work local. If you need refresh the data you can set <strong>datatype</strong>&#160;paremeter of jqGrid to its original value (&#39;json&#39; or &#39;xml&#39;) and then trigger "reloadGrid". See almost the same answer <a href="http://stackoverflow.com/questions/5397671/jqgrid-reloadgrid-with-loadonce-set-to-true/5398136#5398136" target="_blank">here</a>.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Sat, 26 Mar 2011 00:57:26 +0200</pubDate>
        </item>
        <item>
        	<title>aarati on Client side sort with dynamic url</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-sort-with-dynamic-url#p22536</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-sort-with-dynamic-url#p22536</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>Were you able to find a solution to this problem?Am facing a similar issue.</p>
</p>
<p>Regards,</p>
<p>Aarati</p>
]]></description>
        	        	<pubDate>Thu, 24 Mar 2011 05:19:15 +0200</pubDate>
        </item>
        <item>
        	<title>sd on Client side sort with dynamic url</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-sort-with-dynamic-url#p14711</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-sort-with-dynamic-url#p14711</guid>
        	        	<description><![CDATA[<p>I want my grid to load data depending on the different search criteria selected by the user. So I modified the grid url dynamically. The " &#160;loadonce: false" is set during the grid declaration.&#160;But, my observations are as follows</p>
<p>1. When I set loadonce: false, I can see the data after the url is changed dynamically. But client side sort is not working</p>
<p>2. &#160;When I set loadonce: true, the client side sort is working, but the data is not refreshed after the dynamic change of url.</p>
<p>3. I tried to toggle the &#160;loadonce dynamically, but the client side sorting is not working. I have the latest grid code.</p>
</p>
<p>Here is my code</p>
<p>jQuery("#list19").jqGrid(&#39;setGridParam&#39;,{url:surl});</p>
<p>$("#list19").trigger("reloadGrid");</p>
</p>
<p>Help is appreicated.</p></p>
]]></description>
        	        	<pubDate>Wed, 10 Feb 2010 18:41:22 +0200</pubDate>
        </item>
</channel>
</rss>