<?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: setCell calls cell formatter function with wrong parameter</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-calls-cell-formatter-function-with-wrong-parameter</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/setcell-calls-cell-formatter-function-with-wrong-parameter/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on setCell calls cell formatter function with wrong parameter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-calls-cell-formatter-function-with-wrong-parameter#p30820</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-calls-cell-formatter-function-with-wrong-parameter#p30820</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I have fixed the problem in <a href="https://github.com/tonytomov/jqGrid/commit/e7e29b9f41a4e076e0c058b51d0edf1f297c073f" target="_blank">GitHub here</a>.</p>
<p>This fix slow down the method when used multiple time in loop or in other ways.</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Tue, 08 Jul 2014 13:18:57 +0300</pubDate>
        </item>
        <item>
        	<title>tony on setCell calls cell formatter function with wrong parameter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-calls-cell-formatter-function-with-wrong-parameter#p30819</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-calls-cell-formatter-function-with-wrong-parameter#p30819</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks<br />
I confirm this. I will try to loop thought<br />
ind.cells<br />
and build a array with the raw data.<br />
Will let you know.</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Tue, 08 Jul 2014 12:55:56 +0300</pubDate>
        </item>
        <item>
        	<title>wydok on setCell calls cell formatter function with wrong parameter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-calls-cell-formatter-function-with-wrong-parameter#p30807</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-calls-cell-formatter-function-with-wrong-parameter#p30807</guid>
        	        	<description><![CDATA[<p>Sounds like this bug from three years ago is the same issue:</p>
<p><a href="http://www.trirand.com/blog/?page_id=393/bugs/custom-formatter-sometimes-receives-htmltablerowelement-rather-than-rowdata-object" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....ata-object</a></p>
]]></description>
        	        	<pubDate>Thu, 03 Jul 2014 18:22:00 +0300</pubDate>
        </item>
        <item>
        	<title>wydok on setCell calls cell formatter function with wrong parameter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-calls-cell-formatter-function-with-wrong-parameter#p30806</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-calls-cell-formatter-function-with-wrong-parameter#p30806</guid>
        	        	<description><![CDATA[<p>I am seeing this in 4.5.4, but it also appears to be an issue in 4.6.</p>
<p>The fourth parameter for a cell's formatter function is supposed to be an object of the row's data. Â However, when called from the setCell fuinction, the fourth parameter is the row element for the row of the cell being edited.</p>
<p>Starting with line 3570, the ind variable set set to the rest of getGridRowById. Â that variable is then passed as the fourth parameter.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7391' value='Select Code' data-codeid='sfcode7391' /></p>
<div class='sfcode' id='sfcode7391'>
<pre><span style="color: blue">var</span>Â indÂ =Â $($t).jqGrid(<span style="color: #a31515">'getGridRowById'</span>,Â rowid);Â 
<span style="color: blue">if</span>Â (ind){
Â Â Â Â <span style="color: blue">var</span>Â tcellÂ =Â $(<span style="color: #a31515">"td:eq("</span>+pos+<span style="color: #a31515">")"</span>,ind);
Â Â Â Â <span style="color: blue">if</span>(nDataÂ !==Â <span style="color: #a31515">""</span>Â &#124;&#124;Â forceupdÂ ===Â <span style="color: blue">true</span>)Â {
Â Â Â Â Â Â Â Â vÂ =Â $t.formatter(rowid,Â nData,Â po</pre>
</div>
]]></description>
        	        	<pubDate>Thu, 03 Jul 2014 18:20:37 +0300</pubDate>
        </item>
</channel>
</rss>