<?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: editRow/saveRow succesfunc not working as expected</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/editrowsaverow-succesfunc-not-working-as-expected</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/editrowsaverow-succesfunc-not-working-as-expected/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on editRow/saveRow succesfunc not working as expected</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/editrowsaverow-succesfunc-not-working-as-expected#p10705</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/editrowsaverow-succesfunc-not-working-as-expected#p10705</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks for this. I will consider this situation.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 14 Oct 2009 11:38:57 +0300</pubDate>
        </item>
        <item>
        	<title>anuraguniyal on editRow/saveRow succesfunc not working as expected</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/editrowsaverow-succesfunc-not-working-as-expected#p10640</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/editrowsaverow-succesfunc-not-working-as-expected#p10640</guid>
        	        	<description><![CDATA[<p>I tried to avoid doing restoreRow, if succesfunc returns false</p>
<p>After that esc doesn&#39;t restores the row because saverow method of jqgrid does</p>
<p>$($t.rows[ind]).unbind("keydown");</p>
</p>
<p>so wouldn&#39;t it be better to do unbind in restorerow instead of saverow?</p>
]]></description>
        	        	<pubDate>Mon, 12 Oct 2009 05:56:47 +0300</pubDate>
        </item>
        <item>
        	<title>anuraguniyal on editRow/saveRow succesfunc not working as expected</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/editrowsaverow-succesfunc-not-working-as-expected#p10638</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/editrowsaverow-succesfunc-not-working-as-expected#p10638</guid>
        	        	<description><![CDATA[<p>According to doc:</p>
<p><em>succesfunc</em>: if defined, this function is called immediately after the request is successful. To this function is passed the data returned from the server. Depending on the data from server this function should return true or false.</p>
</p>
<p>But when I return false from succesfunc, I expect the<em> row being edited remain intact with user changes</em></p>
<p>e.g. I call editRow on dbl-click and pass my succesfunc, on successfun if there are any problem reported in server data, I show error to user but do not want that row being edited is closed with user modifcations gone.</p>
<p>So I return false from succesfunc, but it still closes the row.</p>
<p>Looking into code confirms the behaviour</p>
<p>in grid.inlineedit.js</p>
<p>if (ret===true) { <br />&#8230;.<br />} else { $($t).restoreRow(rowid); }</p>
</p>
<p>What is the easiest way to tweak this? If make a change on my side, how do I minimize it? I do not have much exp. with java script.</p></p>
]]></description>
        	        	<pubDate>Mon, 12 Oct 2009 05:28:21 +0300</pubDate>
        </item>
</channel>
</rss>