<?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 option data not showing in grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/select-option-data-not-showing-in-grid</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-option-data-not-showing-in-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>akitson on select option data not showing in grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-option-data-not-showing-in-grid#p20191</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-option-data-not-showing-in-grid#p20191</guid>
        	        	<description><![CDATA[<p>In a number of grids I am creating, the data is coming from the server in the form of Ids for a value e.g</p>
<p>1 = no</p>
<p>2 = yes</p>
</p>
<p>If I put in the editype:select and give and edit options for a select box, i.e.</p>
<p>colModel:[</p>
<p>{name:&#39;prsnId&#39;,index:&#39;prsnId&#39;, width:200,sortable:true,editable:true,edittype:"select",editoptions:{value:_selMbr},editrules:{required:true}},</p>
<p>{name:&#39;srvcId&#39;,index:&#39;srvcId&#39;, width:200,sortable:true,editable:true,edittype:"select",editoptions:{value:_selSrvc},editrules:{required:true}}</p>
<p>]</p>
<p>in this example _selMbr = {1:"Joe",2:"Fred",3:"Norah"}&#160; etc</p>
<p>I can see the human readable labels when I edit the the row in an edit dialog, but the grid shows the option values (i.e 1,2,3 etc) instead of the option labels.</p>
</p>
<p>How can I display the option label in the grid instead of the value?</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Thu, 07 Oct 2010 17:55:10 +0300</pubDate>
        </item>
</channel>
</rss>