<?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 sorting</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-sorting-2</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-sorting-2/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>swlego on client side sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-sorting-2#p18829</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-sorting-2#p18829</guid>
        	        	<description><![CDATA[<p>UPDATE, this doesn&#39;t work as expected. The pager is not updated with values for "total", "page", and "records" passed in the JSON string when using loadOnce, but it is when loadOnce is disabled, but then of course sorting doesn&#39;t work. I think there&#39;s a bug in here somewhere.</p>
]]></description>
        	        	<pubDate>Tue, 27 Jul 2010 19:31:15 +0300</pubDate>
        </item>
        <item>
        	<title>swlego on client side sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-sorting-2#p18827</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-sorting-2#p18827</guid>
        	        	<description><![CDATA[<p>FYI, I was able to get this working by setting {loadonce: true} when I initialize the grid. Seems like that should just duplicate the functionality of the loadComplete: function(){} mentioned in this tutorial: /jqgridwiki/doku.php?id=wiki:howto_grid_base#client_side_sorting_but_server_side_paging</p>
<p>But for some reason adding the loadonce:true did the trick for me. Go persistence!</p>
</p>
<p>Fantastic toolset by the way. Awesome work!</p>
</p>
<p>just for clarity</p>
</p>
<p>jQuery("#gridID").jqGrid({</p>
<p>&#160;&#160;&#160;&#160; loadonce:true,</p>
<p>&#160;&#160;&#160;&#160; onPaging: function(which_button){</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $j("#gridID").setGridParam({datatype:&#39;json&#39;}).trigger("reloadGrid");</p>
<p>&#160;&#160;&#160;&#160; },</p>
<p>&#160;&#160;&#160;&#160; loadComplete: function(){</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $j("#gridID").setGridParam({datatype:&#39;local&#39;}).trigger("reloadGrid");</p>
<p>&#160;&#160;&#160;&#160; }</p>
<p>});</p>
</p>
<p>That seems to do the trick. I think loadonce and loadComplete are redundant in their functionality so maybe there&#39;s a bug in there or I&#39;m just unclear on when loadonce is supposed to be implemented.</p>
]]></description>
        	        	<pubDate>Tue, 27 Jul 2010 18:18:35 +0300</pubDate>
        </item>
        <item>
        	<title>swlego on client side sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-sorting-2#p18822</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-sorting-2#p18822</guid>
        	        	<description><![CDATA[<p>I&#39;m having the exact same problem. I&#39;d love to hear a solution.</p>
]]></description>
        	        	<pubDate>Tue, 27 Jul 2010 00:50:29 +0300</pubDate>
        </item>
        <item>
        	<title>cdrx on client side sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-sorting-2#p18810</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-sorting-2#p18810</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>I&#39;m quite new to jqGrid, and I&#39;m trying to use the "local sorting and server side paging" feature as described in the wiki (<a title="wiki page" href="/jqgridwiki/doku.php?id=wiki:howto_grid_base#client_side_sorting_but_server_side_paging" target="_self" target="_blank"></a><a href="http://www.trirand.com/jqgridw" rel="nofollow" target="_blank">http://www.trirand.com/jqgridw</a>.....ide_paging).</p>
<p>However the example code does not seem to work properly with the latest 3.7.2 version.</p>
<p>In my case, the paging is ok but the sorting produces no results at all.</p>
<p>I&#39;m using JSON data, and the callbacks loadComplete and onPaging are called in time. But I think that setting data to "local type" does not seem to work.Or at least the sort does not seem to take it into account.</p>
<p>When using default settings ( remote data), the http server recieves the requests and sorting parameters when sorting is triggered.</p>
<p>I don&#39;t know if this is a known bug for this version or am I the first to run into this issue.</p>
<p>Also, I&#39;m quite new to jqGrid, I don"t know where to start in order to trace/investigate the issue in the code.</p>
<p>So any info or pointers would realy help ,</p>
<p>Regards,</p>
<p>Cdrx</p></p>
]]></description>
        	        	<pubDate>Mon, 26 Jul 2010 01:16:40 +0300</pubDate>
        </item>
</channel>
</rss>