<?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: afterInsertRow gets called differently</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/afterinsertrow-gets-called-differently</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/afterinsertrow-gets-called-differently/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on afterInsertRow gets called differently</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/afterinsertrow-gets-called-differently#p15192</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/afterinsertrow-gets-called-differently#p15192</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. I suppose you use it in addRowData function. If this is the case, the bug is fixed here:</p>
<p><a href="http://github.com/tonytomov/jqGrid/commit/dffec3efb15ee499b73eef0bb7a2d4cf08b31489" rel="nofollow" target="_blank"><a href="http://github.com/tonytomov/jq" rel="nofollow">http://github.com/tonytomov/jq</a>.....cf08b31489</a></p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 26 Feb 2010 21:26:04 +0200</pubDate>
        </item>
        <item>
        	<title>viceberg on afterInsertRow gets called differently</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/afterinsertrow-gets-called-differently#p15136</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/afterinsertrow-gets-called-differently#p15136</guid>
        	        	<description><![CDATA[<p>Hi!</p>
</p>
<p>in grid.base.js, line 561.</p>
<p>ts.p.afterInsertRow.call(ts, rid, rd, xmlr)</p>
</p>
<p>in grid.base.js, line 667</p>
<p>ts.p.afterInsertRow.call(ts, idr, rd, cur)</p>
</p>
<p>BUT</p>
</p>
<p>in grid.base.js, line 1923</p>
<p>t.p.afterInsertRow(t, row, id, data)</p>
</p>
<p>I think the 1923 line should use the ".call" method to fire the event. Because for the two first cases described, the ts parameter is used to define the context of the call. In the last case, the parameter t is passed as a parameter to the method.</p>
</p>
<p>So, in the first two cases, we get the "id" as the first parameter and in the last one, we get the "t" object as the parameter.</p>
</p>
<p>Thanks</p>
</p>
<p>VB</p>
]]></description>
        	        	<pubDate>Wed, 24 Feb 2010 23:04:24 +0200</pubDate>
        </item>
</channel>
</rss>