<?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: Changing cell edit when other cell changes?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/changing-cell-edit-when-other-cell-changes</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/changing-cell-edit-when-other-cell-changes/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>larsrc on Changing cell edit when other cell changes?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-cell-edit-when-other-cell-changes#p16275</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-cell-edit-when-other-cell-changes#p16275</guid>
        	        	<description><![CDATA[<p>I finally figured out a way to do it, with a somewhat different approach. I make the HTML for cell B myself using custom_element, so I can hook in on it changing (it&#39;s a select menu). When it changes, I save the data, update the edit type, and re-select the row. It&#39;s a little messy, but it works.</p>
<p>-Lars</p>
]]></description>
        	        	<pubDate>Wed, 07 Apr 2010 12:52:08 +0300</pubDate>
        </item>
        <item>
        	<title>larsrc on Changing cell edit when other cell changes?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-cell-edit-when-other-cell-changes#p16221</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-cell-edit-when-other-cell-changes#p16221</guid>
        	        	<description><![CDATA[<p>Thank you for your answer.</p>
<p>One problem is that since field B is being edited, I can&#39;t get the value of it - as far as I know - since it&#39;s been replaced with an edit thingie. I already know the id of field A, that&#39;s not a problem. The edittype of field A will need to be changed (between text and a custom dropdown type), and I don&#39;t know if a) that can be done while editing, and b) there&#39;s something cached for the column that&#39;ll prevent it from fully working.</p>
<p>So you&#39;re saying that if I just remove the field A and do setCell, the grid will pick up the fact that the row is being edited and automatically set the cell into edit mode? Must test that.</p>
<p>-Lars</p>
]]></description>
        	        	<pubDate>Sat, 03 Apr 2010 21:01:55 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Changing cell edit when other cell changes?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-cell-edit-when-other-cell-changes#p16207</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-cell-edit-when-other-cell-changes#p16207</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I&#39;m not sure if this can be done with standart grid methods available.</p>
<p>One thing that I see is when the value of B cahnges get the current value of field A, then you know the id of the field A - remove the field and recreate it with the new input type using setCell method. Also the avilable edittype should be changed maybe (not sure from what edittype to what edittype is the change)</p>
<p>Little hard to do instead.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 03 Apr 2010 17:03:36 +0300</pubDate>
        </item>
        <item>
        	<title>larsrc on Changing cell edit when other cell changes?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-cell-edit-when-other-cell-changes#p16140</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-cell-edit-when-other-cell-changes#p16140</guid>
        	        	<description><![CDATA[<p>Hi!</p>
</p>
<p>We&#39;re making extensive use of jqGrid in one project, and have managed to get it to do a number of the things we wanted it to, including making a nice drop-down edit type and changing edit options based on which row is being edited. However, the latest thing I have need of has me stumped: I need to change the edittype of cell A when the value in cell B changes (in inline editing of one row). I haven&#39;t been able to find any docs or posts that hint at how to do this. While I can capture the change of value of cell B, I don&#39;t see how to change out the editor in the middle of the edit without making all manner of unfounded assumptions about what jqGrid does in editing. Is there a &#39;correct&#39; way to do this?</p>
</p>
<p>Thanks in advance,</p>
<p>-Lars</p>
]]></description>
        	        	<pubDate>Thu, 01 Apr 2010 10:30:54 +0300</pubDate>
        </item>
</channel>
</rss>