<?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: Keep scroll position and group collapse state through reload</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/keep-scroll-position-and-group-collapse-state-through-reload</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/feature-request/keep-scroll-position-and-group-collapse-state-through-reload/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>byakugie on Keep scroll position and group collapse state through reload</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/keep-scroll-position-and-group-collapse-state-through-reload#p21914</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/keep-scroll-position-and-group-collapse-state-through-reload#p21914</guid>
        	        	<description><![CDATA[<p>we just develop a patch to keep collapsed state. we added new event named &#39;onClickGroup&#39;. This event fires after clicking group (to expand or collapse group). it  has 2 parameters, group id (string) and collapsed (boolean). &#39;groupid&#39;  is a combination of grid id plus &#39;ghead_&#39; plus the current count number  in the grid view. &#39;collapsed&#39; is current group&#39;s collapse status.</p>
</p>
<p>please visit <a href="https://github.com/byakugie/jqGrid/commit/1adcbfb1538a40796e27282fda89a79bd4339dbf" rel="nofollow" target="_blank">https://github.com/byakugie/jqGrid/commit/1adcbfb1538a40796e27282fda89a79bd4339dbf</a> to see that patch</p>
</p>
<p>please visit <a href="https://github.com/byakugie/clockingit/commit/bc56e361b44cd57dd41d52e4279119ac6aae2952" rel="nofollow" target="_blank">https://github.com/byakugie/clockingit/commit/bc56e361b44cd57dd41d52e4279119ac6aae2952</a> to see how we are using &#39;onClickGroup&#39; event to save collapsed state in Jobsworth project. (also we use &#39;loadComplete&#39; event to restore collapsed state)</p></p>
]]></description>
        	        	<pubDate>Wed, 02 Feb 2011 02:45:35 +0200</pubDate>
        </item>
        <item>
        	<title>ari on Keep scroll position and group collapse state through reload</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/keep-scroll-position-and-group-collapse-state-through-reload#p21906</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/keep-scroll-position-and-group-collapse-state-through-reload#p21906</guid>
        	        	<description><![CDATA[<p>To reply to my own request here: how about adding an event to the existing list ( <a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:events" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....iki:events</a> ) which is fired on collapsing any grouping? That would allow us to hook in some code and save that state somewhere such as LocalStorage.</p>
</p>
<p>Tony, if I were to develop a patch to support this, would you prefer just an event added to collapsing groups, or should jqGrid directly support the ability to save state to localStorage? Would you consider the latter something jqGrid should do, or the developer implement themselves?</p>
</p>
<p>Ari</p>
]]></description>
        	        	<pubDate>Tue, 01 Feb 2011 10:33:57 +0200</pubDate>
        </item>
        <item>
        	<title>ari on Keep scroll position and group collapse state through reload</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/keep-scroll-position-and-group-collapse-state-through-reload#p21774</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/keep-scroll-position-and-group-collapse-state-through-reload#p21774</guid>
        	        	<description><![CDATA[<p>When reloading the grid (not the whole page, just the grid) the current scroll position and the collapsed state of the groups is lost. I&#39;ve been thinking about storing those parameters in a localStorage... sure sometimes the reload will give you such different data that the position will make no sense, but 90% of the time you&#39;ll be close to where you were.</p>
</p>
<p>Has anyone tried hooking this idea into jqGrid? Is this someething that jqGrid itself might support natively?</p>
]]></description>
        	        	<pubDate>Fri, 21 Jan 2011 10:20:47 +0200</pubDate>
        </item>
</channel>
</rss>