<?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: colModel "edittype" as array</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/colmodel-edittype-as-array</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/bugs/colmodel-edittype-as-array/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on colModel "edittype" as array</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/colmodel-edittype-as-array#p5480</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/colmodel-edittype-as-array#p5480</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thnaks. It is a problem in the docs. Add in your colModel the additional option</p>
<p>formatter:&#39;select&#39;</p>
<p>Thanks</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 21 Mar 2009 10:34:19 +0200</pubDate>
        </item>
        <item>
        	<title>Marcel Karras on colModel "edittype" as array</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/colmodel-edittype-as-array#p5462</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/colmodel-edittype-as-array#p5462</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>the jqGrid documentaiton states the following:</p>
<p><em>To construct this element, editoptions must contain a set of value:label pairs with the value separated from the label with a colon (:). These sets of pairs can be either a string or an array. For example, both </em></p>
<p><span class="sfcode">colModel : [ ... {name:&#39;myname&#39;, edittype:&#39;select&#39; editoptions:{value:"1:One;2:Two"} } ... ] </span></p>
<p><em>And colModel : </em></p>
<p><span class="sfcode">[ ... {name:&#39;myname&#39;, edittype:&#39;select&#39;, editoptions:{value:{1:&#39;One&#39;,2:&#39;Two&#39;}} } ... ]</span></p>
<p><em>are correct and can be used as a &#39;select&#39; definition.</em></p>
<p>I tried this and it doesn&#39;t work for me. There&#39;s an error message:</p>
<p><span class="sfcode">$t.sopt.value.split is not a function</span></p>
<p>Seems to me if the check what format is given (string or array) is missing or buggy. Is this a known issue?</p>
]]></description>
        	        	<pubDate>Fri, 20 Mar 2009 02:19:13 +0200</pubDate>
        </item>
</channel>
</rss>