<?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: populate select boxes with multiple values</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/populate-select-boxes-with-multiple-values</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/populate-select-boxes-with-multiple-values/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mandarin on populate select boxes with multiple values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/populate-select-boxes-with-multiple-values#p8926</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/populate-select-boxes-with-multiple-values#p8926</guid>
        	        	<description><![CDATA[<p>Sorry about that. I&#39;m just being stupid.</p>
<p>I never thought it did work because jqGrid renders multiple values as a string. That made me believe something was wrong, and instead of clicking the cell to see what would happend, I spent a few hours looking for the answer on the internet.</p>
<p>This is how you do it:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2704' value='Select Code' data-codeid='sfcode2704' /></p>
<div class='sfcode' id='sfcode2704'>ship:["FedEx","TNT"]</div>
<p>Easy as that.</p>
]]></description>
        	        	<pubDate>Sat, 22 Aug 2009 13:51:24 +0300</pubDate>
        </item>
        <item>
        	<title>mandarin on populate select boxes with multiple values</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/populate-select-boxes-with-multiple-values#p8925</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/populate-select-boxes-with-multiple-values#p8925</guid>
        	        	<description><![CDATA[<p>Hello!</p>
<p>I have added a row to my grid which has <strong>edittype</strong> set to <strong>select</strong>, and <strong>multiple</strong> to <strong>true</strong>. It shows in the grid, but it&#39;s filling in the data which is the problem. I have tried to insert an array in the JSON object, but to no success.</p>
<p>This is the model:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3646' value='Select Code' data-codeid='sfcode3646' /></p>
<div class='sfcode' id='sfcode3646'>index:&#39;ship&#39;, editoptions:{multiple:true, value:{1:"FedEx",2:"InTime",3:"TNT",4:"ARAMEX"}}</div>
<p>And here&#39;s what I&#39;ve tried submitting:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6213' value='Select Code' data-codeid='sfcode6213' /></p>
<div class='sfcode' id='sfcode6213'>
<p>ship:{[1],[4]}</p>
<p>ship:[[1],[4]]</p>
<p>ship:{value:{1,4}}</p>
</div>
<p>...and lots of other variations.</p>
</p>
<p>I&#39;ve searched the forum over and over again but can&#39;t seem to find anyone else who has had the same problem. Does anyone know how to fix this?</p>
</p>
<p>Best regards,</p>
<p>Thomas</p>
]]></description>
        	        	<pubDate>Sat, 22 Aug 2009 11:21:37 +0300</pubDate>
        </item>
</channel>
</rss>