<?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 Grid state in Session</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/save-grid-state-in-session</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-grid-state-in-session/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kirshsam on Save Grid state in Session</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-grid-state-in-session#p25956</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-grid-state-in-session#p25956</guid>
        	        	<description><![CDATA[<p>Ok I will try localStorage. </p>
]]></description>
        	        	<pubDate>Wed, 15 Feb 2012 22:28:56 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Save Grid state in Session</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-grid-state-in-session#p25955</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-grid-state-in-session#p25955</guid>
        	        	<description><![CDATA[<p>Hello Sam,</p>
<p>the examples which I posted you before are all implemented in JavaScript. So you can use it if you want. I am not Java developer and not familiar with the implementation of Servlet/JSP or EJB session&#160;state. In the most cases the session state is either pure server state or will be permanently sent to the server and from the server. In any way the jqGrid as&#160;<em>pure JavaScript client component</em> can&#39;t help you to hold any such information on the server side. So I recommend you to use localStorage (see my previous answer).</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Wed, 15 Feb 2012 19:23:23 +0200</pubDate>
        </item>
        <item>
        	<title>kirshsam on Save Grid state in Session</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-grid-state-in-session#p25954</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-grid-state-in-session#p25954</guid>
        	        	<description><![CDATA[<p>Thanks Oleg.&#160; I am actually a Java / JSP developer.&#160; What if I only wanted to save the state for the curent browser session.&#160; I dont want to save the state after the browser session has been closed.&#160; Is there a simple example?</p>
</p>
<p>Thanks again.</p>
<p>Sam</p>
]]></description>
        	        	<pubDate>Wed, 15 Feb 2012 18:38:06 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Save Grid state in Session</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-grid-state-in-session#p25953</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-grid-state-in-session#p25953</guid>
        	        	<description><![CDATA[<p>I suppose you are .NET developer which use Web Forms. What you described about the user expirience can be realized not only withthe session state. The information from the session state will be permanently send to the server and returned from the server which decrease the performance. The user wants just to open the page with the same settings&#160;and the user needs to do this mostly on the computer in the same web browser. So one not need to send the grid state&#160;permanantly&#160;to the sever and from the server.</p>
<p>So I would recommend you to read some of my old answers:&#160;<a href="http://stackoverflow.com/a/8436273/315935" target="_blank">the answer</a>, <a href="http://stackoverflow.com/a/8547852/315935" target="_blank">another one</a> and probably <a href="http://stackoverflow.com/a/9202378/315935" target="_blank">this one</a> too. Just try in the tree demos: <a href="http://www.ok-soft-gmbh.com/jqGrid/ColumnChooserAndLocalStorage2_single.htm" target="_blank">this</a>, <a href="http://www.ok-soft-gmbh.com/jqGrid/ColumnChooserAndLocalStorage2_.htm" target="_blank">this</a>&#160;to set some filters, change column width or column order, select some rows then go to another page, close the web browser or reboot the computer. After that you can open the same demo one more time. You will see that the last grid sate will be restored. In&#160;<a href="http://www.ok-soft-gmbh.com/jqGrid/SPATEN-TreeGrid2.htm" target="_blank">this</a>&#160;demo you can open some tree nodes and see that the list of the opened nodes will state after you refresh the page with F5. You will see that the list on the opened nodes will be the part of the grid state which will be automatically.</p>
<p>Best regards<br />Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Wed, 15 Feb 2012 17:55:32 +0200</pubDate>
        </item>
        <item>
        	<title>kirshsam on Save Grid state in Session</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-grid-state-in-session#p25951</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-grid-state-in-session#p25951</guid>
        	        	<description><![CDATA[<p>Hi, I am sure this has been discussed before, but could someone please point me to an example?</p>
<p>I am looking to store the Grid state in a Session (not Cookie).&#160; So if the grid was on page 2 and the user leaves and then comes back to the grid page, the grid should remain on page 2. etc.</p>
<p>Thank you,</p>
<p>Sam</p>
]]></description>
        	        	<pubDate>Wed, 15 Feb 2012 16:21:22 +0200</pubDate>
        </item>
</channel>
</rss>