<?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: multiselect and posting selecting id's</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-and-posting-selecting-ids</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/multiselect-and-posting-selecting-ids/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>yummy on multiselect and posting selecting id's</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-and-posting-selecting-ids#p8483</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-and-posting-selecting-ids#p8483</guid>
        	        	<description><![CDATA[<p>Hi :&#160;</p>
<p>You can use the following method to get the selected grid data.</p>
<p>Post it use form submit or ajax method to server side.</p>
</p>
<p>function getSelectedGridData(mygrid)</p>
<p>{</p>
<p><span style="white-space: pre;"> </span>var rows = mygrid.getGridParam("selarrrow");</p>
<p><span style="white-space: pre;"> </span>if(rows.length &#62; 0)</p>
<p><span style="white-space: pre;"> </span>{</p>
<p><span style="white-space: pre;"> </span>var arrRow = new Array(rows.length);</p>
<p><span style="white-space: pre;"> </span>$.each(</p>
<p><span style="white-space: pre;"> </span>rows,</p>
<p><span style="white-space: pre;"> </span>function( intIndex, objValue ){</p>
<p><span style="white-space: pre;"> </span>var rowdata = (mygrid.getRowData(objValue));</p>
<p><span style="white-space: pre;"> </span>arrRow[intIndex] = rowdata;</p>
<p><span style="white-space: pre;"> </span>rowdata = null;</p>
<p><span style="white-space: pre;"> </span>}</p>
<p><span style="white-space: pre;"> </span>);</p>
<p><span style="white-space: pre;"> </span>return "{&#39;rows&#39; : " + JSON.stringify(arrRow) + "}";</p>
<p><span style="white-space: pre;"> </span>}<span> </span></p>
<p><span style="white-space: pre;"> </span>else</p>
<p><span style="white-space: pre;"> </span>{</p>
<p><span style="white-space: pre;"> </span>return "{&#39;rows&#39; : [{}] }";</p>
<p><span style="white-space: pre;"> </span>}</p>
<p>}</p>
]]></description>
        	        	<pubDate>Wed, 12 Aug 2009 20:59:16 +0300</pubDate>
        </item>
        <item>
        	<title>krisreddy on multiselect and posting selecting id's</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiselect-and-posting-selecting-ids#p8480</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiselect-and-posting-selecting-ids#p8480</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>there must be already a method to do this, but I looked through the docs and did not find an answer.</p>
<p>I have setup the grid with multiselect option and using to using getGridParam(&#39;selarrrow&#39;);&#160; to get the selected id&#39;s but I don&#39;t know how to post to url for a server processing.</p>
</p>
<p>Please help</p>
</p>
<p>Thanks,</p>
</p>
<p>Kris</p>
]]></description>
        	        	<pubDate>Wed, 12 Aug 2009 16:36:34 +0300</pubDate>
        </item>
</channel>
</rss>