<?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: afterSave event in predefined formatter</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/aftersave-event-in-predefined-formatter</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/aftersave-event-in-predefined-formatter/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jhsu on afterSave event in predefined formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/aftersave-event-in-predefined-formatter#p25297</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/aftersave-event-in-predefined-formatter#p25297</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>I noticed the on line 416 and 417 from jquery.fmatter.js, the response object is not passed in as a parameter. The afterSave callback is being invoked from the saveRow method (grid.inlinedit.js - line 249), which is passing the response object from the ajax call.</p>
<p>So I propose&#160;the following&#160;fix for line 416 and 417 of jquery.fmatter.js&#160;so that the afterSave event callback for the column formatter gets the appropriate response object returned from ajax call.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1772' value='Select Code' data-codeid='sfcode1772' /></p>
<div class='sfcode' id='sfcode1772'>
<p>var saverow = function (rowid, xhr) { //xhr param added.&#160; - line 416&#160;</p>
<p>if (op.afterSave) op.afterSave(rowid, xhr); //xhr param added. - line 417</p>
</div>
<p>Thanks</p></p>
]]></description>
        	        	<pubDate>Thu, 01 Dec 2011 21:30:49 +0200</pubDate>
        </item>
</channel>
</rss>