<?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: Save state of grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/save-state-of-grid</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/save-state-of-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>AdytmRO on Save state of grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-state-of-grid#p18141</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-state-of-grid#p18141</guid>
        	        	<description><![CDATA[<p>Update:</p>
</p>
<p>Cannot store gridParams into cookie.</p>
<p>if u do:</p>
<p>var state_grid&#160; = $("#list2").jqGrid(&#39;getGridParam&#39;);<br />$.cookie("gridState", state_grid , { expires: 1 });</p>
<p>it will store [object Object] as a string :).</p>
<p>even if u json state_grid ... the amount of data is too big to be stored into cookies.</p>
<p>So i have retreived only the postData from the grid and stored into cookie.</p>
<p>After this ... i check . if the cookie exists, i read the postData and try to reload the grid with the new postData.</p>
</p>
<p>I use jquery.json plugin.</p>
</p>
<p>regards,</p>
<p>AdytmRO</p></p>
]]></description>
        	        	<pubDate>Wed, 23 Jun 2010 15:09:21 +0300</pubDate>
        </item>
        <item>
        	<title>AdytmRO on Save state of grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-state-of-grid#p18136</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-state-of-grid#p18136</guid>
        	        	<description><![CDATA[<p>Hy,</p>
</p>
<p>I have the same problem.</p>
<p>The jqGrid.js is loaded. every js files are loaded, but still the same problem.</p>
</p>
<p>:(( uncaught  exception: jqGrid - No such method: [object Object] :((</p>
</p>
<p>if ($.cookie("gridState")){<br />&#160;&#160;&#160; $("#listSurveys").jqGrid($.cookie("gridState"));</p>
<p>}</p>
</p>
<p>the value of the cookie is [object Object], so i think that gridParams object</p>
<p>is stored in the cookie.</p>
</p>
<p>Is jqGrid able to load the config from the object stored into the cookie ?</p>
</p>
<p>Any tips are welcomed... 😀</p>
]]></description>
        	        	<pubDate>Wed, 23 Jun 2010 10:56:50 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Save state of grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-state-of-grid#p15941</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-state-of-grid#p15941</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It seems like in your second page jqGrid java script files are not loaded.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 25 Mar 2010 09:45:31 +0200</pubDate>
        </item>
        <item>
        	<title>janke on Save state of grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-state-of-grid#p15906</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-state-of-grid#p15906</guid>
        	        	<description><![CDATA[<p>Is it possible to is save the state (filters,order, page,&#8230;) of the grid and retrieve this after vivit an other page ?</p>
<p>I try to do this function for save state on a click button</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2531' value='Select Code' data-codeid='sfcode2531' /></p>
<div class='sfcode' id='sfcode2531'>function save_state(){<br />&#160;&#160; &#160;var state_grid&#160; = $(&#34;#list2&#34;).jqGrid(&#39;getGridParam&#39;);<br />&#160;&#160; &#160;$.cookie(&#34;gridState&#34;, state_grid , { expires: 1 });&#160;&#160; <br />}&#160;&#160;&#160;</div>
<p>And</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1070' value='Select Code' data-codeid='sfcode1070' /></p>
<div class='sfcode' id='sfcode1070'>
<p>param_grid = {</p>
<p>&#160;&#160; &#160; url:&#39;server.php,...</p>
<p>}</p>
<p>if ($.cookie(&#34;gridState&#34;))jQuery(&#34;#list2&#34;).jqGrid($.cookie(&#34;gridState&#34;));<br />else jQuery(&#34;#list2&#34;).jqGrid(param_grid);</p>
</div>
<p>but firefox respond <strong>uncaught exception: jqGrid - No such method: [object Object]</strong></p>
<p>some one could help me ?</p>
<p>Thanks<strong><br /></strong></p>
]]></description>
        	        	<pubDate>Tue, 23 Mar 2010 15:29:54 +0200</pubDate>
        </item>
</channel>
</rss>