<?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: Form Edit: One Select Combo -&#62; Multple Columns Split on Select/Insert/Update/Delete</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete</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/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Form Edit: One Select Combo -&#62; Multple Columns Split on Select/Insert/Update/Delete</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete#p23349</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete#p23349</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You already solove you problem 80% with this script.</p>
<p>You will need to read in wich grid edit/add events to put it.</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 26 May 2011 21:38:16 +0300</pubDate>
        </item>
        <item>
        	<title>p2pow350 on Form Edit: One Select Combo -&#62; Multple Columns Split on Select/Insert/Update/Delete</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete#p23345</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete#p23345</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>in the past I&#39;ve used this javascript function to put appropriate values into other form fields:</p>
</p>
<p>&#160;&#160;&#160; function handleSelectClick() {<br />&#160;&#160; &#160;&#160;&#160; &#160;//accessing combo select object<br />&#160;&#160; &#160;&#160;&#160; &#160;selectObj = document.forms[0].ship_sel;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;if ((selectObj.value) == "") {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;return false<br />&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;//reading values<br />&#160;&#160; &#160;&#160;&#160; &#160;selectedValue = selectObj.options[selectObj.selectedIndex].value;<br />&#160;&#160; &#160;&#160;&#160; &#160;selectedText = selectObj.options[selectObj.selectedIndex].text;<br />&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;//putting values into appropriate form fields<br />&#160;&#160; &#160;&#160;&#160; &#160;document.forms.MyShipmentForm.ship_id.value=selectedValue;<br />&#160;&#160; &#160;&#160;&#160; &#160;document.forms.MyShipmentForm.ship_value.value=selectedText;<br />&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;}</p>
</p>
<p>But, how to implement this also in the jqGrid?</p>
<p>Especially, this select will be only used on Edit/Insert of new/old values.</p>
</p>
<p>Thank you!!</p>
<p>Max</p>
]]></description>
        	        	<pubDate>Thu, 26 May 2011 16:27:38 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Form Edit: One Select Combo -&#62; Multple Columns Split on Select/Insert/Update/Delete</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete#p23344</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete#p23344</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks I think it is clear.</p>
<p>In order to help - Imagine there is no jqGrid. How you will realize this without using the jqGrid add/edit/delete?</p>
<p>Suppose you use a form and beside this form you have two additional elements where you put in one the id and in the other the value!</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 26 May 2011 15:53:27 +0300</pubDate>
        </item>
        <item>
        	<title>p2pow350 on Form Edit: One Select Combo -&#62; Multple Columns Split on Select/Insert/Update/Delete</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete#p23341</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete#p23341</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>thanks for your reply!</p>
<p>I don&#39;t want to create a dependent combo box, I would like to split values for a single combo in different columns.</p>
<p>Please consider this classic example (modified of course):</p>
</p>
<p>{name:&#39;ship_sel&#39;,index:&#39;ship_sel&#39;, editable:  true,edittype:"select",editoptions:{value:"FE:FedEx;IN:InTime;TN:TNT;AR:ARAMEX"}},</p>
<p>{name:&#39;ship_id&#39;,index:&#39;ship_id&#39;},</p>
<p>{name:&#39;ship_value&#39;,index:&#39;ship_value&#39;},</p>
</p>
<p>I want to put the "FE" value in an "ID Column", in this case ship_id</p>
<p>and the "FedEx" value in a "Value Column", in this case ship_value</p>
</p>
<p>My "ship_sel" combobox will be a third column and is created with a PHP code based on decode table, so I want to create a selection combo and use the selected value to populate different columns. This seems to be difficult also for Select/Update/Delete operations, right?</p>
</p>
<p>I hope to clarified my question now</p>
<p>Thank you</p></p>
]]></description>
        	        	<pubDate>Thu, 26 May 2011 14:38:23 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Form Edit: One Select Combo -&#62; Multple Columns Split on Select/Insert/Update/Delete</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete#p23340</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete#p23340</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Not sure I understand what you ask.</p>
<p>Should I understand that you think about dependent list boxes?</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Thu, 26 May 2011 14:12:23 +0300</pubDate>
        </item>
        <item>
        	<title>p2pow350 on Form Edit: One Select Combo -&#62; Multple Columns Split on Select/Insert/Update/Delete</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete#p23338</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/form-edit-one-select-combo-multple-columns-split-on-selectinsertupdatedelete#p23338</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I&#39;m working with some grids and everything is OK! It&#39;s a little difficult to start and understanding all the features/philosophy behind the grid but it needs to work hard to mastering this grid, btw..</p>
<p>...I&#39;m trying to build a combobox on Edit/Update/Delete on each record that will put the ID in one field and the Value in another field, is this possible?</p>
<p>Are there example on it?</p>
</p>
<p>Thank you!</p></p>
]]></description>
        	        	<pubDate>Thu, 26 May 2011 13:30:02 +0300</pubDate>
        </item>
</channel>
</rss>