<?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: Selecting Multi-Select Options on Edit Popup</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup</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/selecting-multi-select-options-on-edit-popup/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>caiorg on Selecting Multi-Select Options on Edit Popup</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p22205</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p22205</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
<p>Yes, next week I will publish the beta and hope that after maximum two weeks we will have 3.6</p>
<p>Regards</p>
<p>Tony</p>
</blockquote>
<hr />
<p>Hey Tony,</p>
</p>
<p>I&#39;m using jqGrid 3.8.2 and still facing this bug. It&#39;s exactly what Andrewwatts described above.</p>
</p>
<p>Is there any possibility the bug return somehow after you fixed it on 3.6?</p>
</p>
<p>Cheers</p>
</p>
<p>Caio</p>
]]></description>
        	        	<pubDate>Fri, 25 Feb 2011 15:44:56 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Selecting Multi-Select Options on Edit Popup</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p10585</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p10585</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yes, next week I will publish the beta and hope that after maximum two weeks we will have 3.6</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 09 Oct 2009 03:50:12 +0300</pubDate>
        </item>
        <item>
        	<title>andrewwatts on Selecting Multi-Select Options on Edit Popup</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p10525</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p10525</guid>
        	        	<description><![CDATA[<p>Thanks Tony, I&#39;ll take a look at the 3.6 branch.&#160; Is there a scheduled release date or timeframe for 3.6?</p>
]]></description>
        	        	<pubDate>Wed, 07 Oct 2009 12:10:29 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Selecting Multi-Select Options on Edit Popup</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p10498</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p10498</guid>
        	        	<description><![CDATA[<p>Hello Andrew,</p>
<p>First of all Thank you very much for this investigation and finding bugs. Yes, we have these two bugs.</p>
<p>Short: they are corrected in GitHub (Note that the correction is in 3.6 branch and not in master).</p>
<p>It is quiete easy to work this way.</p>
<p>Thank you very much again.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 07 Oct 2009 03:58:20 +0300</pubDate>
        </item>
        <item>
        	<title>andrewwatts on Selecting Multi-Select Options on Edit Popup</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p10479</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p10479</guid>
        	        	<description><![CDATA[<p>Thanks for the suggestion, unfortunately that didn&#39;t work, so I did a little digging and think I found a couple bugs, or if not, then, I don&#39;t understand... But an explanation of what I am seeing would be much appreciated along with any potential workarounds.&#160; I tried to create as small of an example as possible to show what I am experiencing.&#160; below is the code along with the discoverys I made while digging into this.</p>
</p>
<p>Thanks for the help.</p>
<p>- Andrew</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2545' value='Select Code' data-codeid='sfcode2545' /></p>
<div class='sfcode' id='sfcode2545'>&#60;!DOCTYPE HTML&#62;<br />&#60;html&#62;<br />&#160;&#160;&#160; &#60;head&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;title&#62;jQuery Grid Multi-Select&#60;/title&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;link rel="stylesheet" type="text/css" media="screen" href="css/jquery-ui-1.7.2.custom.css" /&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" /&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;script type="text/javascript" src="js/jquery-1.3.2.min.js"&#62;&#60;/script&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"&#62;&#60;/script&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;script type="text/javascript" src="js/i18n/grid.locale-en.js"&#62;&#60;/script&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;script type="text/javascript" src="js/jquery.jqGrid.min.js"&#62;&#60;/script&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;script type="text/javascript"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; /** <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; * <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; * discoveries:<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; * <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; * 1. Only works second time edit popup is opened, eg:<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - refresh page to get a new state<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - select row 2<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - click the edit button<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - notice only &#39;Three&#39; is selected (or last in list)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - close popup<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - make sure row 2 is still selected<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - click the edit button<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - now &#39;One&#39; and &#39;Three&#39; are selected (or all in list)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160;&#160;&#160; correctly as expected<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160; Seems like there is bug the very first time the popup is <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160; opened.<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; * <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; * 2. Add a custom formatter to render the select in the grid <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160; column and only the first option shows up. eg:<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - uncomment the formatter<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - refresh the page<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - select row 2<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - click the edit button<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - notice only &#39;Three&#39; is selected (or last in list)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160;&#160;&#160; same as above<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - close popup<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - make sure row 2 is still selected<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - click the edit button<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160; - now only &#39;One&#39; is selected (or first in list) and this<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160;&#160;&#160; behavior continues, never selecting all options.<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160; Seems like there is also a bug related to adding a formatter<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160; to render the column<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; *&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; */<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(document).ready(function(){</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var select_values = {&#39;0&#39;:&#39;&#39;,&#39;1&#39;:&#39;One&#39;,&#39;2&#39;:&#39;Two&#39;,&#39;3&#39;:&#39;Three&#39;};<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#grid_list").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: "local",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: 100,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Id&#39;, &#39;Name&#39;, &#39;Values&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; name: &#39;id&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; index: &#39;id&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width: 100,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }, {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; name: &#39;name&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; index: &#39;name&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width: 100,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editable: true<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }, {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; name: &#39;values&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; index: &#39;values&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width: 200,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editable: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; edittype: &#39;select&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editoptions: {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; multiple: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; size: 4,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value: select_values,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; defaultValue: &#39;0&#39;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // uncomment the formatter to see the error described in<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // discovery 2<br />//&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ,formatter: function(cv, o, ro){return cv.join(&#39;, &#39;);}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;Multi-Select Test&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: jQuery(&#39;#grid_pager&#39;)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }).navGrid(&#39;#grid_pager&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {add: true, del: false, edit: true, refresh: false, search: false, view: false},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {/* edit options */},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {/* add options */},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {/* delete options */},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {/* search options */},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {/* view options */}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; );<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var mydata = [ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {id:"1",name:"test1",values:[&#39;One&#39;]}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {id:"2",name:"test2",values:[&#39;One&#39;,&#39;Three&#39;]}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {id:"3",name:"test3",values:[&#39;Two&#39;]}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ]; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; for (var i = 0; i &#60;= mydata.length; i++) <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#grid_list").addRowData(i + 1, mydata[i]); <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/script&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160; &#60;/head&#62;<br />&#160;&#160;&#160; &#60;body&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;table id="grid_list" class="scroll" cellspacing="0" cellpadding="0"&#62;&#60;/table&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;div id="grid_pager" class="scroll"&#62;&#60;/div&#62;<br />&#160;&#160;&#160; &#60;/body&#62;<br />&#60;/html&#62;</p>
</div>
]]></description>
        	        	<pubDate>Tue, 06 Oct 2009 13:19:22 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Selecting Multi-Select Options on Edit Popup</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p10452</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p10452</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>If you are in add mode you can use the defaultValue in edit option defined like this</p>
<p>defaultValue : "1,3" or defaultValue : "One,Three" - both will work.</p>
<p>If you are in edit mode alll depends on data in the grid.</p>
<p>1. If the table cell is empty a defaultValue is used.</p>
<p>2. If the table cell is not empty a comma separated values are accepted which are selected in the form</p>
<p>So by example if the cell contain</p>
<p>Two, Three - the second and third options will be selected.</p>
<p>Reagrds</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Tue, 06 Oct 2009 06:45:50 +0300</pubDate>
        </item>
        <item>
        	<title>andrewwatts on Selecting Multi-Select Options on Edit Popup</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p10424</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/selecting-multi-select-options-on-edit-popup#p10424</guid>
        	        	<description><![CDATA[<p>How do you pre-select multiple options in a multi-select by default in an Edit Popup Form?</p>
<p>So, if the grid displays &#8220;One, Three&#8221; in a column and editoptions is</p>
<p><input type='button' class='sfcodeselect' name='sfselectit336' value='Select Code' data-codeid='sfcode336' /></p>
<div class='sfcode' id='sfcode336'>{multiple: true, size: 3,value: {0: &#39;&#39;, 1: &#39;One&#39;, 2: &#39;Two&#39;, 3: &#39;Three&#39;}}</div>
<p>as defined in ColModel for the grid column.  Then the following select markup is rendered:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2172' value='Select Code' data-codeid='sfcode2172' /></p>
<div class='sfcode' id='sfcode2172'>&#60;select&#62;<br /> &#60;option value="0"&#62;&#60;/option&#62;<br /> &#60;option value="1"&#62;One&#60;/option&#62;<br /> &#60;option value="2"&#62;Two&#60;/option&#62;<br /> &#60;option value="3"&#62;Three&#60;/option&#62;<br />&#60;/select&#62;</div>
<p>Which works Great</p>
<p>However, the in the DOM select.selectedIndex is 1, which renders differently in the UI than the other options.  And, I really want 1 and 3 selected so that if the user doesn&#39;t modify the options and clicks &#39;Submit&#39; then the options don&#39;t change. This way if the click Submit then the options changes from 1,3 to 1, which is undesired behavior.</p>
<p>Is there a way to pre-select both option 1 and 3, so that if the user doesn&#39;t modify the options and clicks &#39;Submit&#39; then the options do not change.</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Mon, 05 Oct 2009 22:52:01 +0300</pubDate>
        </item>
</channel>
</rss>