<?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: getGridParam('selarrrow') pagination</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/getgridparamselarrrow-pagination</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/getgridparamselarrrow-pagination/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>turya on getGridParam('selarrrow') pagination</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getgridparamselarrrow-pagination#p9955</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getgridparamselarrrow-pagination#p9955</guid>
        	        	<description><![CDATA[</p>
<p>for whatever reason "setSelection" doesn&#39;t work for me (it sets the background grey, but doesn&#39;t set the checkbox to checked).&#160; It also fails (for me) to preserve the selection when I go back to my original page.  I ended up using something like this:</p>
</p>
<pre>    onPaging: function() {
        save_grid_selection = $("#grid_table").getGridParam(&#39;selarrrow&#39;);  
    },
    gridComplete: function() {
        var gps = $("#grid_table").getGridParam();
        gps[&#39;selarrrow&#39;] = save_grid_selection;
        for (var i=0; i &#60; save_grid_selection.length; i++) {
            var $row = $(&#39;#&#39;+save_grid_selection[i]);
            if ($row) {
                $row.find(&#39;.cbox&#39;).attr("checked",true);
                $row.attr(&#39;aria-selected&#39;,true);
                $row.addClass(&#39;ui-state-highlight&#39;);
            }
        }
    },
</pre>
]]></description>
        	        	<pubDate>Mon, 21 Sep 2009 14:37:34 +0300</pubDate>
        </item>
        <item>
        	<title>tony on getGridParam('selarrrow') pagination</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getgridparamselarrrow-pagination#p4559</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getgridparamselarrrow-pagination#p4559</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Use onPaging event to store the selected rows in other variable array and the gridComplete event to select the previous if the array is not empty. Use setSelection for this purpose.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 11 Feb 2009 00:11:19 +0200</pubDate>
        </item>
        <item>
        	<title>killero on getGridParam('selarrrow') pagination</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/getgridparamselarrrow-pagination#p4543</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/getgridparamselarrrow-pagination#p4543</guid>
        	        	<description><![CDATA[<p>when there is pagination in the grid, the rows selected in page are lost when calling getGridParam(&#39;selarrrow&#39;) on the&#160; next page, if you return to the page, they lost the checkbox aswell</p>
<p>so is there a easy way to keep the selected rows with the built in functions or anyone has a way to do it?</p>
]]></description>
        	        	<pubDate>Tue, 10 Feb 2009 04:37:21 +0200</pubDate>
        </item>
</channel>
</rss>