<?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: wrong "this" in resizeStop callback</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/wrong-this-in-resizestop-callback</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/wrong-this-in-resizestop-callback/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on wrong "this" in resizeStop callback</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/wrong-this-in-resizestop-callback#p28772</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/wrong-this-in-resizestop-callback#p28772</guid>
        	        	<description><![CDATA[<p>Hello Oleg,</p>
<p>Thanks. Fixed</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 13 May 2013 15:23:05 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on wrong "this" in resizeStop callback</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/wrong-this-in-resizestop-callback#p28770</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/wrong-this-in-resizestop-callback#p28770</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>during writing of <a href="http://stackoverflow.com/a/16517257/315935" target="_blank">the answer</a>&#160;I found small bug in <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.base.js#L823" target="_blank">the line</a>. The value of <strong>this</strong> is now <strong>ts.grid</strong> instead of <strong>ts</strong> value used in old versions. It&#39;s easer to get <strong>grid</strong> part from <strong>ts</strong>. So it seems to me that the line</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7071' value='Select Code' data-codeid='sfcode7071' /></p>
<div class='sfcode' id='sfcode7071'>if($.isFunction(p.resizeStop)) { p.resizeStop.call(this,nw,idx); }</div>
<p>should be changed to</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3198' value='Select Code' data-codeid='sfcode3198' /></p>
<div class='sfcode' id='sfcode3198'>if($.isFunction(p.resizeStop)) { p.resizeStop.call(<strong>ts</strong>,nw,idx); }</div>
<p>It seems to me that <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.5/js/grid.base.js#L768" target="_blank">another line</a></p>
<p><input type='button' class='sfcodeselect' name='sfselectit8709' value='Select Code' data-codeid='sfcode8709' /></p>
<div class='sfcode' id='sfcode8709'>if($.isFunction(p.resizeStart)) { p.resizeStart.call(this,x,i); }</div>
<p>should be fixed in the same way to</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5055' value='Select Code' data-codeid='sfcode5055' /></p>
<div class='sfcode' id='sfcode5055'>if($.isFunction(p.resizeStart)) { p.resizeStart.call(<strong>ts</strong>,x,i); }</div>
<p><span style="font-size: 14px;">Best regards</span></p>
<p>Oleg</p></p>
]]></description>
        	        	<pubDate>Mon, 13 May 2013 14:02:38 +0300</pubDate>
        </item>
</channel>
</rss>