<?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: Select editoptions displaying value instead of name</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name</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/select-editoptions-displaying-value-instead-of-name/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Select editoptions displaying value instead of name</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p16291</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p16291</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yes - formatter select is your solution. It is good first to search the docs <img class="spSmiley" style="margin:0" title="Wink" src="/blog/wp-content/forum-smileys/sf-wink.gif" alt="Wink" /></p>
<p>Best regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 08 Apr 2010 12:37:01 +0300</pubDate>
        </item>
        <item>
        	<title>mzazzali on Select editoptions displaying value instead of name</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p16229</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p16229</guid>
        	        	<description><![CDATA[<p>I was looking for the same thing and I ended up hacking the jqgrid code to get it to show the value instead of the id. &#160;However I just came across this post which seems to be the real solution. &#160;I haven&#39;t tried it yet but it seems to be what both of us were looking for.</p>
</p>
<p>/blog/?page_id=393/help/select-boxes-view-in-grid/&#38;value=select%20value&#38;type=1&#38;include=1&#38;search=1&#38;ret=all</p>
]]></description>
        	        	<pubDate>Sun, 04 Apr 2010 15:34:59 +0300</pubDate>
        </item>
        <item>
        	<title>ColinKahn on Select editoptions displaying value instead of name</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p15853</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p15853</guid>
        	        	<description><![CDATA[<p>Ah, I see what you&#39;re saying about the search text. It really seems like a bug, to me though. If you send it values from the DB, and then edit the post, it will show you the name when your finished editing it. It&#39;s like some kind of event is triggering that subs the value for the name, but that trigger is only happening after you edit the post.</p>
<p>I guess if there&#39;s no known work around for now I could digg around with Firebug...</p>
]]></description>
        	        	<pubDate>Sat, 20 Mar 2010 10:33:38 +0200</pubDate>
        </item>
        <item>
        	<title>tim on Select editoptions displaying value instead of name</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p15851</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p15851</guid>
        	        	<description><![CDATA[<p>good question <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_wink.gif" alt=";)" /> &#8230;</p>
<p>I am guessing that Tony expects people store the display value in the database for ease when using the search text entered, when I (like you) would rather store the key and have jqGrid translate the display on the client side and let us write code to translate the &#39;Search Text&#39; back to the key value for look up. Maybe Tony can add an option to handle both ?</p>
<p>tim</p></p>
]]></description>
        	        	<pubDate>Sat, 20 Mar 2010 02:41:59 +0200</pubDate>
        </item>
        <item>
        	<title>ColinKahn on Select editoptions displaying value instead of name</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p15850</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p15850</guid>
        	        	<description><![CDATA[<p>You&#39;re exactly right, the database sends 0 and 1, not the name. But if what you&#39;re saying is that it should send &#39;Op1&#39; what&#39;s the point of having value/name pairs when all you&#39;re really working with is names?</p>
]]></description>
        	        	<pubDate>Sat, 20 Mar 2010 01:36:49 +0200</pubDate>
        </item>
        <item>
        	<title>tim on Select editoptions displaying value instead of name</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p15849</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p15849</guid>
        	        	<description><![CDATA[<p>My guess is that you are storing 0 &#38; 1 as the actual value in your database, and your &#39;dataurl&#39; webservice is not translating 0 &#38; 1 to their respective display values. When you look at the raw data what&#39;s initially being fed into your grid? 0 or Op1?</p>
<p>tim</p>
]]></description>
        	        	<pubDate>Sat, 20 Mar 2010 01:08:29 +0200</pubDate>
        </item>
        <item>
        	<title>ColinKahn on Select editoptions displaying value instead of name</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p15848</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-editoptions-displaying-value-instead-of-name#p15848</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I&#39;m using an edittype:select with editoptions{value:&#39;0:Op1;1:Op2&#39;} and when grid data is loaded it will display &#39;0&#39;, &#39;1&#39;, instead of &#39;Op1&#39;, &#39;Op2&#39;. It will only display the name if I edit the cell. When I add a new row it correctly displays the drop down, but once it reloads the grid it will display the &#39;0&#39;/&#39;1&#39; values instead of the names.</p>
</p>
<p>Any suggestions?</p>
]]></description>
        	        	<pubDate>Fri, 19 Mar 2010 22:39:43 +0200</pubDate>
        </item>
</channel>
</rss>