<?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: clientSide / xml with local sorting</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting</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/clientside-xml-with-local-sorting/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>expaand on clientSide / xml with local sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5650</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5650</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Well, I got it all working after all (not sure what was wrong before). So if you want to enable local sorting, via jqGridImport:</p>
<p>&#60;datatype&#62;xml&#60;/datatype&#62;<br />&#60;loadonce&#62;true&#60;/loadonce&#62;</p>
<p>does the trick!</p>
</p>
<p>Thanks!</p>
<p>David</p>
]]></description>
        	        	<pubDate>Sat, 28 Mar 2009 12:19:26 +0200</pubDate>
        </item>
        <item>
        	<title>tony on clientSide / xml with local sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5599</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5599</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Could you please send me the xml configuration - in my email (and if possible some part of the data generated from the server). At best it will be good if you send me a link to the problem.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 25 Mar 2009 11:14:20 +0200</pubDate>
        </item>
        <item>
        	<title>expaand on clientSide / xml with local sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5560</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5560</guid>
        	        	<description><![CDATA[<p>Hi Tony -</p>
<p>The datatype is xml.</p>
<p>And I have not tried the grid without import. But everything works fine, except for the local sorting. And I can get the local sorting to work by one of the following two methods:</p>
<p>1. Once the grid is loaded, click on a link which is bound via</p>
<p>$("#s1").click(function() {<br />&#160; jQuery("#xmlist1").setGridParam({datatype:"clientSide"});<br />});</p>
<p>or (so that local sorting is enabled automatically):</p>
<p>2.  via</p>
<p>setTimeout("MyInit()", 400);</p>
<p>where MyInit() is:</p>
<p>function MyInit() {<br />&#160; jQuery("#xmlist1").setGridParam({datatype:"clientSide"});<br />}</p>
</p>
<p>However, #1 requires manual intervention, and #2 is kludgy since you don&#39;t really know how long to wait for.</p>
<p>Thanks for your help,</p>
<p>David</p></p>
]]></description>
        	        	<pubDate>Tue, 24 Mar 2009 05:24:58 +0200</pubDate>
        </item>
        <item>
        	<title>tony on clientSide / xml with local sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5553</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5553</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It should work as any other option.</p>
<p>How is defined in the import the datatype parameter?</p>
<p>If you do not use import - is the grid woring in this case?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 24 Mar 2009 03:04:39 +0200</pubDate>
        </item>
        <item>
        	<title>expaand on clientSide / xml with local sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5533</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5533</guid>
        	        	<description><![CDATA[<p>Thanks, Tony. The "loadonce" option seems to be the exact one I need. However, when I put this in the xml file to load (via jqGridImport):</p>
<p>&#60;loadonce&#62;true&#60;/loadonce&#62;</p>
<p>it doesn&#39;t really work - no errors, and it apparantly is not going back to the server, but when I click on a column to sort, nothing happens. If, on the other hand, I click on a link which fires a</p>
<p>jQuery("#xmlist1").setGridParam({datatype:"clientSide"});</p>
<p>the sorts all work.</p>
<p>So is this a bug in what I am doing? Perhaps loadonce doesn&#39;t work via jqGridImport? Or am I just doing the wrong thing?</p>
<p>Thanks!</p>
<p>David</p>
]]></description>
        	        	<pubDate>Mon, 23 Mar 2009 14:59:09 +0200</pubDate>
        </item>
        <item>
        	<title>tony on clientSide / xml with local sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5495</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5495</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Enjoy using the option loadonce:true. Also do not forget to set the appropriate sorttype in colModel. Read the docs</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 21 Mar 2009 11:44:54 +0200</pubDate>
        </item>
        <item>
        	<title>expaand on clientSide / xml with local sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5460</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/clientside-xml-with-local-sorting#p5460</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I would like to load an xml file but do clientSide sorting when a heading label is clicked. Is it possible to do that? There is no paging, or anything requiring a server.</p>
<p>It would seem that "datatype" can be either "xml" or "clientSide" - but I want a bit of both.</p>
<p>Thank you.</p></p>
]]></description>
        	        	<pubDate>Thu, 19 Mar 2009 21:02:16 +0200</pubDate>
        </item>
</channel>
</rss>