<?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: formatter select problem</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-select-problem</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/formatter-select-problem/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>csitol on formatter select problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-select-problem#p15273</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatter-select-problem#p15273</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>Will do.&#160; Thanks!</p></p>
]]></description>
        	        	<pubDate>Mon, 01 Mar 2010 20:59:51 +0200</pubDate>
        </item>
        <item>
        	<title>tony on formatter select problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-select-problem#p15269</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatter-select-problem#p15269</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks for sharing this information.</p>
<p>Instead I have fixed some issues regarding selects. They are in GitHub, if you have interest you can test it.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 01 Mar 2010 20:53:29 +0200</pubDate>
        </item>
        <item>
        	<title>csitol on formatter select problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-select-problem#p15181</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatter-select-problem#p15181</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>I&#39;m not sure how far you got on this and I don&#39;t remember seeing anything in the new updates, however, this appears to have been a problem in jQuery not in jqGrid.&#160; I&#39;m now running jQuery 1.4.2 and still running 3.6.2 and now it&#39;s just the reverse.&#160; If I use my own selFormat it doesn&#39;t work, if I use &#39;select&#39; it does!&#160; Go figure.</p>
<p>The long and short is that it doesn&#39;t appear to have been your problem.&#160; I&#39;ve been in communication with the jQuery folks and it appears that there are several major changes internally.&#160; Perhaps this was one of them?</p>
<p>Hope all is well.</p>
<p>Phil</p>
]]></description>
        	        	<pubDate>Fri, 26 Feb 2010 18:14:08 +0200</pubDate>
        </item>
        <item>
        	<title>tony on formatter select problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-select-problem#p12974</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatter-select-problem#p12974</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. Will check this.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 13 Dec 2009 18:17:35 +0200</pubDate>
        </item>
        <item>
        	<title>csitol on formatter select problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-select-problem#p12947</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatter-select-problem#p12947</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>I&#39;m having a problem with the formatter: &#39;select&#39; and the GridToForm method (I&#39;m using a custom form for editing).&#160; If I include the formatter: &#39;select&#39; in the colModel for the row the data displays properly in the column, however, when I attempt to edit the row the correct selection does not show up in the form.&#160; If I remove the formatter:&#39;select&#39; option from the colModel, the data shows up as numbers in the grid (the actual values) but the form works perfectly.</p>
<p>Using ver 3.6.2</p>
<p><strong>colModel code:</strong>&#160; {name:&#39;dc_display_type&#39;, index:&#39;dc_display_type&#39;, id:124, hidden:false, width: 89, align: &#39;left&#39;, label: &#39;Disp Type&#39;, formatter:&#39;select&#39;, stype:&#39;select&#39;, editoptions:{value:&#39;0:Text; 1:TextArea; 2:Numeric; 3:Date; 4:Time; 5:Timestamp; 6:SelectText; 7:SelectSQL; 8:SelectTable&#39;}, editable:true},</p>
<p><strong>html form code:</strong> &#60;select id=&#8221;dc_display_type&#8221; name=&#8221;dc_display_type&#8221; class=&#8221;enter&#8221;&#62;&#60;option value=&#39;0&#39;&#62;Text&#60;/option&#62;&#60;option value=&#39;1&#39;&#62;TextArea&#60;/option&#62;&#60;option value=&#39;2&#39;&#62;Numeric&#60;/option&#62;&#60;option value=&#39;3&#39;&#62;Date&#60;/option&#62;&#60;option value=&#39;4&#39;&#62;Time&#60;/option&#62;&#60;option value=&#39;5&#39;&#62;Timestamp&#60;/option&#62;&#60;option value=&#39;6&#39;&#62;SelectText&#60;/option&#62;&#60;option value=&#39;7&#39;&#62;SelectSQL&#60;/option&#62;&#60;option value=&#39;8&#39;&#62;SelectTable&#60;/option&#62;&#60;/select&#62;</p>
<p>Thank you for your help!</p>
<p>PhilM</p>
<p>Further:&#160; I did find a work-around (but I don&#39;t believe it should be necessary from the docs):</p>
<p><strong>colModel code:</strong> {name:&#39;dc_display_type&#39;, index:&#39;dc_display_type&#39;, id:124, hidden:false, width: 89, align: &#39;left&#39;, label: &#39;Disp Type&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160; formatter: formatTest, edittype:&#39;select&#39;, stype:&#39;select&#39;, <br />&#160;&#160;&#160;&#160;&#160;&#160; editoptions:{"value":{&#39;0&#39;:&#39;Text&#39;, &#39;1&#39;:&#39;TextArea&#39;, &#39;2&#39;:&#39;Numeric&#39;,&#39;6&#39;:&#39;SelectText&#39;}}, editable:true},</p>
<p><strong>formatTest function:</strong> function formatTest(cellvalue, options, rowObject) {<br />&#160;&#160;&#160; return options.colModel.editoptions.value[cellvalue];<br />}</p>
<p>This works exactly as I had hoped.&#160; Is this the way it&#39;s supposed to be done?</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Sat, 12 Dec 2009 21:46:00 +0200</pubDate>
        </item>
</channel>
</rss>