<?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: inline editing with select</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/inline-editing-with-select</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/inline-editing-with-select/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on inline editing with select</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/inline-editing-with-select#p14531</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/inline-editing-with-select#p14531</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You should just add another options which will do the job for you</p>
<p>set in colModel - formatter:"select"</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:predefined_formatter#formatter_type_select" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ype_select</a></p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 03 Feb 2010 20:25:20 +0200</pubDate>
        </item>
        <item>
        	<title>cmarino on inline editing with select</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/inline-editing-with-select#p14479</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/inline-editing-with-select#p14479</guid>
        	        	<description><![CDATA[<p>Hi All,</p>
<p>I&#39;m fairly new to jqGrid.&#160;&#160; I have a simple question and it can be applied to the input types example in row editing seciton in this url <a href="http://www.triarand.com/blog/jqgrid/jqgrid.html.&#038;nbsp" rel="nofollow" target="_blank"><a href="http://www.triarand.com/blog/j" rel="nofollow">http://www.triarand.com/blog/j</a>.....&#038;nbsp</a>;</p>
</p>
<p>There seems to be a disconnect in my understanding of how editable rows with selects work with in the grid.&#160;&#160;</p>
<p>In the grid colModel they defines the ship column as an edittype:"select" and the</p>
<p>editoptions:{value: "FE:FedEx;IN:InTime;TN:TNT;AR:ARAMEX"}.&#160;</p>
</p>
<p>later in the example the dataset is defined as below and loaded to the grid over an iterator and addRowData.</p>
<p>In the ship column, the value preceding the colon is the value (or code/id), i.e. "FE" &#160;and the value after the colon is the label(the visible part),i.e. "FedEx".&#160;</p>
<p>var mydata2 = [<br />{id:"12345",name:"Desktop Computer",note:"note",stock:"Yes",ship:"FedEx"},<br />{id:"23456",name:"Laptop",note:"Long text ",stock:"Yes",ship:"InTime"},<br />{id:"34567",name:"LCD Monitor",note:"note3",stock:"Yes",ship:"TNT"},<br />{id:"45678",name:"Speakers",note:"note",stock:"No",ship:"ARAMEX"},<br />{id:"56789",name:"Laser Printer",note:"note2",stock:"Yes",ship:"FedEx"},<br />{id:"67890",name:"Play Station",note:"note3",stock:"No", ship:"FedEx"},<br />{id:"76543",name:"Mobile Telephone",note:"note",stock:"Yes",ship:"ARAMEX"},<br />{id:"87654",name:"Server",note:"note2",stock:"Yes",ship:"TNT"},<br />{id:"98765",name:"Matrix Printer",note:"note3",stock:"No", ship:"FedEx"}<br />];</p>
</p>
<p>Shouldn&#39;t the ship variable above be the code, i.e. "FE"? &#160;But if I change the values for ship in the dataset they aren&#39;t translated textually in the cell to the label name corresponding to that value in the select options.&#160; For example if&#160;my dataset contains&#160;"FE" for ship&#160;shouldn&#39;t&#160;"FedEx" be displayed in the&#160;cell?&#160; If I edit the cell and change the value in the select, it displays the&#160;selected label in the cell, i.e. "FedEX", but when you do a getRowData, the cell values for the&#160;ship column all contain the&#160;label name not the actual value from the select, i.e. "FE".&#160;</p>
<p>Am I missing something?&#160; Is there some special code I need to write to handle this?&#160; Has anyone else worked around this?</p>
</p>
<p>Hope this makes sense.</p>
</p>
<p>Thank you in Advance</p>
<p>carmine</p>
]]></description>
        	        	<pubDate>Mon, 01 Feb 2010 20:12:06 +0200</pubDate>
        </item>
</channel>
</rss>