<?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 selected state of multiselect rows over the paging</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/save-selected-state-of-multiselect-rows-over-the-paging</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/save-selected-state-of-multiselect-rows-over-the-paging/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on save selected state of multiselect rows over the paging</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/save-selected-state-of-multiselect-rows-over-the-paging#p25181</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/save-selected-state-of-multiselect-rows-over-the-paging#p25181</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>look at <a href="http://stackoverflow.com/questions/8123825/bring-selected-rows-to-the-top-from-the-jqgrid/8138980#8138980" target="_blank">the answer</a> or on <a href="http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWithSortableMultiselect.htm" target="_blank">this</a> and <a href="http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWithSortableMultiselect1.htm" target="_blank">this</a> demos. In the demo two features are demonstrated</p>
<p>1) saving selected state as <em>parmanent</em>. The items don&#39;t loss the "selected" state over local sorting, paging or filtering.</p>
<p>2) sorting by the selected column (&#39;cb&#39; column). The feature can be practical because sometime it&#39;s interesting to see all items which are selected now. I can imagine that the feature could be also intresting and one could introduce new jqGrid booleat option <strong>multiselectSortable</strong> which could define the style of the column header over the &#39;cb&#39; column.</p>
<p><a href="http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWithSortableMultiselect.png"><img src="http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWithSortableMultiselect.png" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>The implementation of both features can be very simple. I used just <strong>cb</strong> property in the items of the&#160;<strong>data</strong> parameter which hold local data. Additionally I defined custom sorting for the &#39;cb&#39; column.</p>
<p>In <a href="http://stackoverflow.com/questions/8172186/jqgrid-saving-checkbox-selected-state/8172723#8172723" target="_blank">the answer to another question</a>&#160;are included <a href="http://www.ok-soft-gmbh.com/jqGrid/SimpleLocalGridWithPermanentMultiselect3.htm" target="_blank">the demo</a>&#160;which makes selection state persistant without making the selection column sortable.</p>
<p>I think that one could implement the corresponding features in the main code of jqGrd.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Thu, 17 Nov 2011 12:24:40 +0200</pubDate>
        </item>
</channel>
</rss>