<?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: editoptions "select" use json object</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/editoptions-select-use-json-object</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/feature-request/editoptions-select-use-json-object/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on editoptions "select" use json object</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/editoptions-select-use-json-object#p3540</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/editoptions-select-use-json-object#p3540</guid>
        	        	<description><![CDATA[<p>Hello jean,</p>
<p>Sorry - I tottaly missed this.</p>
<p>Will be in the next release. We should just check if the value is a object</p>
<p>perform the needed operation.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 14 Dec 2008 10:03:23 +0200</pubDate>
        </item>
        <item>
        	<title>jean on editoptions "select" use json object</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/editoptions-select-use-json-object#p3538</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/editoptions-select-use-json-object#p3538</guid>
        	        	<description><![CDATA[<p>I see. Maybe for the next major relese then - I&#39;ll have to patch the source until ...</p>
<p>Maybe it would be worth mentioning in the manual and tutorial, that you cannot use , ; and : in the editoptions for select.</p>
<p>Cheers, jean</p>
]]></description>
        	        	<pubDate>Sun, 14 Dec 2008 09:10:57 +0200</pubDate>
        </item>
        <item>
        	<title>tony on editoptions "select" use json object</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/editoptions-select-use-json-object#p3451</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/editoptions-select-use-json-object#p3451</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thank you very much. I will see what I can do. The real problem is that</p>
<p>when I change this - all user using jqGrid should change thier code, wich</p>
<p>IMHO is not good.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 09 Dec 2008 07:02:17 +0200</pubDate>
        </item>
        <item>
        	<title>jean on editoptions "select" use json object</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/editoptions-select-use-json-object#p3442</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/editoptions-select-use-json-object#p3442</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I didn&#39;t like the way the editoptions worked, because you couldn&#39;t use colons or semicolons. So I thought insted of using a dumb list for the editoptions, it would be nice to use a json object (needs to be tested) - what is your opinion to this?</p>
<p>And yes - it would be nice to include it in a future jqgrid release &#8230;</p>
<p>edit grid.common.js (line 150):</p>
<p>case &#8220;select&#8221; :<br />&#160;&#160; &#160;var ov;<br />&#160;&#160; &#160;elem = document.createElement(&#8221;select&#8221;);<br />&#160;&#160; &#160;var msl =&#160; options.multiple === true ? true : false;<br />&#160;&#160; &#160;jQuery(elem).attr({id:options.id, name:options.name, size:Math.min(options.size,options.value.length), multiple:msl });<br />&#160;&#160; &#160;jQuery.each(options.value, function(i, val) {<br />&#160;&#160; &#160;&#160;&#160;&#160; ov = document.createElement(&#8221;option&#8221;);<br />&#160;&#160; &#160;&#160;&#160;&#160; ov.value = i; ov.innerHTML = val;<br />&#160;&#160; &#160;&#160;&#160;&#160; if (!msl &#38;&#38;&#160; val==vl) ov.selected =&#8221;selected&#8221;;<br />&#160;&#160; &#160;&#160;&#160;&#160; if (msl &#38;&#38; jQuery.inArray(val,vl.split(&#8221;,&#8221;))&#62;-1) ov.selected =&#8221;selected&#8221;;<br />&#160;&#160; &#160;&#160;&#160;&#160; elem.appendChild(ov);<br />&#160;&#160; &#160;});<br />&#160;&#160; &#160;break;</p>
]]></description>
        	        	<pubDate>Tue, 09 Dec 2008 04:37:35 +0200</pubDate>
        </item>
</channel>
</rss>