<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Showing combobox option instead of value in editor grid for extjs</title>
	<atom:link href="http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=showing-combobox-option-instead-of-value-in-editor-grid-for-extjs</link>
	<description>sharing technology, ideas, insights!</description>
	<lastBuildDate>Thu, 02 Feb 2012 08:48:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Vlad</title>
		<link>http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/comment-page-1/#comment-5858</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Wed, 11 May 2011 17:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/#comment-5858</guid>
		<description>Here&#039;s a more elegant solution:
&lt;code&gt;
function(val) {
return theComboBox.getStore().getById(val).data.nameOfDisplayField;
}
&lt;/code&gt;
Replace &quot;theComboBox&quot; with your combo object and &quot;nameOfDisplayField&quot; with the field that you want to be displayed.

The data is already in an array, inside the combo&#039;s store, so there is no need to create an additional array.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a more elegant solution:<br />
<code><br />
function(val) {<br />
return theComboBox.getStore().getById(val).data.nameOfDisplayField;<br />
}<br />
</code><br />
Replace &#8220;theComboBox&#8221; with your combo object and &#8220;nameOfDisplayField&#8221; with the field that you want to be displayed.</p>
<p>The data is already in an array, inside the combo&#8217;s store, so there is no need to create an additional array.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Thompson</title>
		<link>http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/comment-page-1/#comment-4581</link>
		<dc:creator>Jeff Thompson</dc:creator>
		<pubDate>Sat, 04 Dec 2010 07:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/#comment-4581</guid>
		<description>I have the same question.   My combo box is gone. Can you be specific about the order here?  Just won&#039;t for me if i I loose the combo.</description>
		<content:encoded><![CDATA[<p>I have the same question.   My combo box is gone. Can you be specific about the order here?  Just won&#8217;t for me if i I loose the combo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pooja</title>
		<link>http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/comment-page-1/#comment-4258</link>
		<dc:creator>pooja</dc:creator>
		<pubDate>Thu, 07 Oct 2010 12:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/#comment-4258</guid>
		<description>where to add this code ? after declaring combobox?</description>
		<content:encoded><![CDATA[<p>where to add this code ? after declaring combobox?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Silvio</title>
		<link>http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/comment-page-1/#comment-2924</link>
		<dc:creator>Silvio</dc:creator>
		<pubDate>Tue, 01 Sep 2009 16:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/#comment-2924</guid>
		<description>Great work, thanks a lot.

There`s one issue, you should mention. If you use transformation of an existing HTML select box into an ExtJS one, the original select box will be lost after this process. So you have to perform your code before the transformation.</description>
		<content:encoded><![CDATA[<p>Great work, thanks a lot.</p>
<p>There`s one issue, you should mention. If you use transformation of an existing HTML select box into an ExtJS one, the original select box will be lost after this process. So you have to perform your code before the transformation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aditya Mooley</title>
		<link>http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/comment-page-1/#comment-2913</link>
		<dc:creator>Aditya Mooley</dc:creator>
		<pubDate>Mon, 24 Aug 2009 02:48:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/#comment-2913</guid>
		<description>@Joshua - &#039;combo-id&#039; is just a placeholder. Replace it with the actual id of the drop-down you are working with.</description>
		<content:encoded><![CDATA[<p>@Joshua &#8211; &#8216;combo-id&#8217; is just a placeholder. Replace it with the actual id of the drop-down you are working with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua</title>
		<link>http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/comment-page-1/#comment-2908</link>
		<dc:creator>Joshua</dc:creator>
		<pubDate>Sat, 22 Aug 2009 14:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanisoft.com/blog/2007/06/06/showing-combobox-option-instead-of-value-in-editor-grid-for-extjs/#comment-2908</guid>
		<description>Hi, I test your example but it show a error, it can&#039;t find document.getElementById(&#039;combo-id&#039;), maybe extjs assign a different id??? 

thanks</description>
		<content:encoded><![CDATA[<p>Hi, I test your example but it show a error, it can&#8217;t find document.getElementById(&#8216;combo-id&#8217;), maybe extjs assign a different id??? </p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

