<?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: Row cannot re-saved if error occurs in inline editing</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/row-cannot-re-saved-if-error-occurs-in-inline-editing</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/bugs/row-cannot-re-saved-if-error-occurs-in-inline-editing/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kobruleht on Row cannot re-saved if error occurs in inline editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/row-cannot-re-saved-if-error-occurs-in-inline-editing#p23204</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/row-cannot-re-saved-if-error-occurs-in-inline-editing#p23204</guid>
        	        	<description><![CDATA[<p>Steps to reproduce:</p>
</p>
<p>1. In inline editing change make some change which causes server to return 4xx error code.</p>
<p>2. Correct the error and try to save again.</p>
<p>Observed:</p>
<p>Enter key is ignored. Changed data is lost. As notid in other thread probably Enter key binding is removed also if error has returned from server call.</p>
</p>
<p>Notes</p>
<p>This issue is described also in</p>
<p>/blog/?page_id=393&#38;forum=1&#38;topic=5672&#38;watch=user<br />/blog/?page_id=393/help/ajax-validation-while-saving-an-inline-edit/</p>
</p>
<p><a href="https://github.com/tonytomov/jqGrid/blob/master/js/grid.inlinedit.js" target="_blank">https://github.com/tonytomov/jqGrid/blob/master/js/grid.inlinedit.js</a></p>
</p>
<p>show two different names:</p>
</p>
<p>line 23 and 103 :</p>
<p>"restoreAfter<strong>Erorr</strong>" : true</p>
<p>line 250:</p>
<p>if(o.restoreAfter<strong>Error</strong> === true) {</p>
</p>
<p>I tried to use</p>
</p>
<p>function errorfunc(rowid, response) {<br />restoreAfterError = false;<br />restoreAfterErorr = false;<br />grid.restoreAfterError = false;<br />grid.restoreAfterErorr = false;<br />alert(response.responseText);<br />return true;<br />}</p>
<p>After error messagebox is shown but Enter key will not work. How to allow Enter key to save again after error ?</p>
]]></description>
        	        	<pubDate>Mon, 16 May 2011 19:34:31 +0300</pubDate>
        </item>
</channel>
</rss>