<?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 all selections on a grid with multiselect </title>
	<link>http://www.trirand.com/blog/?page_id=393/help/save-all-selections-on-a-grid-with-multiselect</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-all-selections-on-a-grid-with-multiselect/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Zed on Save all selections on a grid with multiselect </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-all-selections-on-a-grid-with-multiselect#p12117</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-all-selections-on-a-grid-with-multiselect#p12117</guid>
        	        	<description><![CDATA[<p>I do it like this:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4015' value='Select Code' data-codeid='sfcode4015' /></p>
<div class='sfcode' id='sfcode4015'>
<p>onSelectRow : function(id,selected){<br />&#160;&#160;&#160;data = jQuery("#online").getRowData(id);</p>
<p>&#160;&#160;&#160;if(selected) {<br />&#160;&#160;&#160;mac += data.MAC+";";<br />&#160;&#160;&#160;nasport += data.NASPORTID+" ";<br />&#160;&#160;&#160;sessionid += data.SessionID+";";<br />&#160;&#160;} else {<br />&#160;&#160;&#160;mac = String(mac).replace(data.MAC+";","");<br />&#160;&#160;&#160;nasport = String(nasport).replace(data.NASPORTID+" ","");<br />&#160;&#160;&#160;sessionid = String(sessionid).replace(data.SessionID+";","");<br />&#160;&#160;}</p>
</div>
<p>Then my selected data is separated by a ; and can be split and used later. The "else" stuff is to remove the data if the row is unselected.</p>
<p>Hope it helps, //Zed</p>
]]></description>
        	        	<pubDate>Wed, 18 Nov 2009 07:46:58 +0200</pubDate>
        </item>
        <item>
        	<title>delerium on Save all selections on a grid with multiselect </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/save-all-selections-on-a-grid-with-multiselect#p12086</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/save-all-selections-on-a-grid-with-multiselect#p12086</guid>
        	        	<description><![CDATA[<p>Hi</p>
<p>Every time that I change of page on the grid I lost the&#160; row&#39;s selection for a previous pages. I searched a event associated to change of a page, but I can&#39;t find it. Help please!!!</p>
</p>
<p>Thanks in advance</p>
]]></description>
        	        	<pubDate>Tue, 17 Nov 2009 15:14:53 +0200</pubDate>
        </item>
</channel>
</rss>