<?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: Click to edit row, wrong row gets edited</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/click-to-edit-row-wrong-row-gets-edited</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/click-to-edit-row-wrong-row-gets-edited/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Ricardo Montalban on Click to edit row, wrong row gets edited</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/click-to-edit-row-wrong-row-gets-edited#p18998</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/click-to-edit-row-wrong-row-gets-edited#p18998</guid>
        	        	<description><![CDATA[<p>Thanks Oleg. That Stackoverflow question was mine and I thank you for answering it so effectively. You really helped me out there.</p>
]]></description>
        	        	<pubDate>Fri, 06 Aug 2010 02:54:01 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Click to edit row, wrong row gets edited</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/click-to-edit-row-wrong-row-gets-edited#p18996</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/click-to-edit-row-wrong-row-gets-edited#p18996</guid>
        	        	<description><![CDATA[<p>Hi Ricardo!</p>
<p>How you already knows from <a href="http://stackoverflow.com/questions/3416572/jqgrid-set-the-custom-value-of-edittype-custom/3416853#3416853&#160;the" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....3&#160;the</a> solution is to use <strong>recreateForm: true</strong> parameter. I added the answer also in the forum to make other people easy to find solution of the problem.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Fri, 06 Aug 2010 00:43:52 +0300</pubDate>
        </item>
        <item>
        	<title>Ricardo Montalban on Click to edit row, wrong row gets edited</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/click-to-edit-row-wrong-row-gets-edited#p18970</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/click-to-edit-row-wrong-row-gets-edited#p18970</guid>
        	        	<description><![CDATA[<p>In a grid, when I click on a row and the edit it everything works fine but only for the first row I click. If I then click on a different row to edit it, the changes will be applied to the first row I edited! What could cause this?</p>
</p>
<p>Basically whichever row I click first will be the only row I can edit. All other rows will popup their editing window, filled with the correct data, but when I hit "save" the changes will be applied to whichever row I had first edited. Help?</p>
</p>
<p><strong>EDIT: </strong>some more info... it seems that one field in my grid is not updating because its value never changes from the first time the edit button is clicked. I have one field that uses:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6330' value='Select Code' data-codeid='sfcode6330' /></p>
<div class='sfcode' id='sfcode6330'>editype: &#39;custom&#39;, editoptions: {custom_element:myelem,custom_value:myval}}</div>
<p>and myval is simply:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9770' value='Select Code' data-codeid='sfcode9770' /></p>
<div class='sfcode' id='sfcode9770'>function myval(elem){return elem.val}</div>
<p>The first time you click a row to edit it myval returns the correct value (let&#39;s say it is 9). The next row you click to edit has the correct values except that the myval is still 9 even though it should be the value of that particular row. It seems that myval is set when you click the "submit" button on the form and after that it is set as soon as you click the "edit" button to begin editing.</p>
]]></description>
        	        	<pubDate>Thu, 05 Aug 2010 01:54:02 +0300</pubDate>
        </item>
</channel>
</rss>