<?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: jqGrid 3.6 - load once and never again with json</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-36-load-once-and-never-again-with-json</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/jqgrid-36-load-once-and-never-again-with-json/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on jqGrid 3.6 - load once and never again with json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-36-load-once-and-never-again-with-json#p11782</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-36-load-once-and-never-again-with-json#p11782</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Read the docs for client side sorting. Also in client side sorting you will need to set some other parameter in colModel in order to work this.</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:colmodel_options" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....el_options</a></p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 11 Nov 2009 03:28:43 +0200</pubDate>
        </item>
        <item>
        	<title>StErMi on jqGrid 3.6 - load once and never again with json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-36-load-once-and-never-again-with-json#p11749</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-36-load-once-and-never-again-with-json#p11749</guid>
        	        	<description><![CDATA[<p>Sorry my fault. Now it works ( i set the width manually ).</p>
</p>
<p>Anyway I&#39;ve a problem: it doesn&#39;t order at all when I click on some arrow ( up/down ). Does it order with ajax request requesting the new order or if I specify "load once" it order the records with it&#39;s own cached data in the script?&#160;</p>
</p>
<p>Thank you very much ( i&#39;m using the example load once in the demos )</p>
]]></description>
        	        	<pubDate>Tue, 10 Nov 2009 12:47:53 +0200</pubDate>
        </item>
        <item>
        	<title>StErMi on jqGrid 3.6 - load once and never again with json</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-36-load-once-and-never-again-with-json#p11747</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-36-load-once-and-never-again-with-json#p11747</guid>
        	        	<description><![CDATA[<p>I&#39;ve the last one release of jqGrid.</p>
</p>
<p>I want this features:</p>
</p>
<p>it have to load only once all the data and never ask it again to load again.</p>
<p>I&#39;m using Yii framework so I don&#39;t have to do querys to SQL to load datas.</p>
</p>
<p>This is my example. I&#39;ve an object $category.</p>
</p>
<p>In $category-&#62;elements i&#39;ve all my elements.</p>
<p>So the count of element will be $count = count($category-&#62;elements) and so on.</p>
</p>
<p>When I have to iterete I will do</p>
<p>for ( $i = 0; $i &#60; $count; $i++ ) {</p>
<p>$response[$i][&#39;id&#39;] = $category-&#62;elements[$i]-&#62;elementId</p>
<p>$response[$i][&#39;cell&#39;] = array( $category-&#62;elements[$i]-&#62;elementId,&#160; $category-&#62;elements[$i]-&#62;title)</p>
<p>}</p>
</p>
<p>echo json_encode($response);</p>
</p>
<p>But it doesn&#39;t work ( nothing is loaded and the grid is "strange" )</p>
</p>
<p>Someone can gimme a simple example that fix my request and my code?</p>
]]></description>
        	        	<pubDate>Tue, 10 Nov 2009 12:27:32 +0200</pubDate>
        </item>
</channel>
</rss>