<?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" -&#62; Fails when null</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/formatter-select-fails-when-null</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/formatter-select-fails-when-null/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on formatter: "select" -&#62; Fails when null</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/formatter-select-fails-when-null#p9818</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/formatter-select-fails-when-null#p9818</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I think that nothing should be done. For me all work correct. If the value is not found the empty string is returned.</p>
<p>Also please check your editoptins values - maybe you end it with ";" at end which is not correct&#160; - i.e "1:one;2:two;" - this string is not correct which caouse to return undefined.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 18 Sep 2009 03:20:32 +0300</pubDate>
        </item>
        <item>
        	<title>yajo on formatter: "select" -&#62; Fails when null</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/formatter-select-fails-when-null#p9795</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/formatter-select-fails-when-null#p9795</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I found that when you set a column&#39;s <strong>formatter </strong>property to &#8220;<strong>select</strong>&#8221; and recieve a <strong>NULL </strong>value from the server, it displays &#8220;<strong>undefined</strong>&#8220;. There should be an option to set <strong>what to display </strong>in those cases, because in my case, what I want it to display is just an empty string.</p>
<p>By the way, I can&#39;t set an option like this (which I use to set a NULL value) if I try to pass the &#8220;editoptions&#8221;:&#8221;value&#8221; parameter like an object:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1000' value='Select Code' data-codeid='sfcode1000' /></p>
<div class='sfcode' id='sfcode1000'>&#60;option value=&#8221;"&#62;&#60;/option&#62;</div>
<p>I think the drop-down list should <strong>automatically display an empty option </strong>as above when the &#8220;editrules&#8221;:&#8221;required&#8221; option is false.</p>
<p>---EDIT---</p>
<p>I thought another possibility. Maybe adding an <strong>afterFormat </strong>event, which fires after aplying the formatter to the grid. This way I can change whatever I don&#39;t like.</p>
<p>Thanks, see you <img class="spSmiley" style="margin:0" title="Wink" src="/blog/wp-content/forum-smileys/sf-wink.gif" alt="Wink" /></p>
]]></description>
        	        	<pubDate>Thu, 17 Sep 2009 06:32:12 +0300</pubDate>
        </item>
</channel>
</rss>