<?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 reuses and overwrites previously edited item</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/form-edit-reuses-and-overwrites-previously-edited-item</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-reuses-and-overwrites-previously-edited-item/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>queen3 on Form edit reuses and overwrites previously edited item</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/form-edit-reuses-and-overwrites-previously-edited-item#p20710</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/form-edit-reuses-and-overwrites-previously-edited-item#p20710</guid>
        	        	<description><![CDATA[<p>When I open form to edit values:</p>
<p>1. It doesn&#39;t change form values when I navitage with &#60;&#62; buttons</p>
<p>2. It opens New form with same values as first edited row, and when I click "Submit", it overwrites that row instead of creating a new item</p>
<p>3. When I click to edit another row, it always shows the form values for the first edited row &#8211; i.e. if I click New first and then edit row, it shows empty form.</p>
</p>
<p>So, in short, the first time form opens, the values are "stuck" whatever row I open later.</p>
</p>
<p>What can cause this? I remember it used to work OK some time ago&#8230;</p>
</p>
<p>With recreateForm I don&#39;t have this issue (I use it as temporary workaround).</p>
<p>I can reproduce similar thing on jqGrid demos, in New in Version 3.7, Add/edit/delete on local data:</p>
<ol>
<li>Click any row and edit it (open form)</li>
<li>Close form</li>
<li>Select any other row and click edit - form shows incorrect values (from the row that was opened first)</li>
<li>Click Add new row button in toolbar - form shows same values - which  is very convenient, usually new rows are "almost" same - if only it  would add new row, not update the existing one!</li>
</ol>
<p>Of course in live demo Submit doesn&#39;t do that (it doesn&#39;t seem to work at all) but except for this symptoms are same.</p>
<p>Also &#60;&#62; buttons do not change data in form, though they change  selected row - but from what I remember previously it used to update  form values also to match selected row.</p>
]]></description>
        	        	<pubDate>Tue, 09 Nov 2010 17:54:29 +0200</pubDate>
        </item>
</channel>
</rss>