<?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 Function with empty Value</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value</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-function-with-empty-value/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on setCell Function with empty Value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p15910</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p15910</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. Done. Also I have do these in saveCell too. It really have sense.</p>
<p>Thank you again</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 23 Mar 2010 18:31:04 +0200</pubDate>
        </item>
        <item>
        	<title>Yurgen on setCell Function with empty Value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p15904</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p15904</guid>
        	        	<description><![CDATA[</p>
<p>Hi Tony!</p>
<p>Thanks a lot for this fix!</p>
<p>It did almost fix my IE6/7 issue. My issue does have same nature as topic_creator stated, but I needed to make a final modification to completely resolve mine&#160;</p>
</p>
<p>Let me describe my issue first:</p>
</p>
<p>I have simple grid which fed with test data to show. Some of data cell &#160;have value, others are NULL.</p>
<p>And (under IE6/7 only) after grid loaded and I clicked NULL cell, then moved focus to different cell,&#160;previously&#160;selected cell border got corrupted</p>
<p>Please see <a href="http://picasaweb.google.com.ua/fenyuk/ToRemove#5451795885018374722" target="_blank">screenshot</a></p>
</p>
<p>Your recent fix with setCell() new param forceupd is perfectly Ok for me. The last step is to call setCell() with added param.</p>
<p>And that&#39;s it.</p>
<p>So, in gird.celledit.js</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit182' value='Select Code' data-codeid='sfcode182' /></p>
<div class='sfcode' id='sfcode182'>&#160; &#160;restoreCell : function(iRow, iCol)&#160;</div>
<p>instead of&#160;</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8345' value='Select Code' data-codeid='sfcode8345' /></p>
<div class='sfcode' id='sfcode8345'>$($t).jqGrid(&#34;setCell&#34;,$t.rows[iRow].id, iCol, $t.p.savedRow[fr].v);</div>
<p>put&#160;</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3760' value='Select Code' data-codeid='sfcode3760' /></p>
<div class='sfcode' id='sfcode3760'>&#160; &#160;$($t).jqGrid(&#34;setCell&#34;,$t.rows[iRow].id, iCol, $t.p.savedRow[fr].v, null, null, true);</div>
<p>Tony, what do you think regarding this fix?</p>
<p>Would it be possible to include in next official release?</p>
<p>I&#39;d like to have as smooth upgrade to future jqGrid as possible. Also hope it would help somebody else as well 🙂</p>
</p>
<p>Thanks a lot.</p>
<p>Yurgen.</p>
]]></description>
        	        	<pubDate>Tue, 23 Mar 2010 14:13:48 +0200</pubDate>
        </item>
        <item>
        	<title>tony on setCell Function with empty Value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p15838</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p15838</guid>
        	        	<description><![CDATA[<p>Hello Yuri,</p>
<p>Sorry for this. I really forgot to publish the fix - little busy these days.</p>
<p>Here we are</p>
<p><a href="http://github.com/tonytomov/jqGrid/commit/08ee12efd270a0a5b86c52be0c93f74be9a14839" rel="nofollow" target="_blank"><a href="http://github.com/tonytomov/jq" rel="nofollow">http://github.com/tonytomov/jq</a>.....4be9a14839</a></p>
</p>
<p>Please let me know if this fixes your problem</p>
<p>Best Regsrds</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 19 Mar 2010 16:02:18 +0200</pubDate>
        </item>
        <item>
        	<title>Yurgen on setCell Function with empty Value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p15837</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p15837</guid>
        	        	<description><![CDATA[<p>Hi Tony!</p>
<p>Could you please &#160;tell how/when I can get fix?</p>
<p>Does it gonna be included in new version &#39;jqGrid 3.6.5&#39; and I should wait until this bug fix release gonna be published?&#160;</p>
<p>Do not wanna hurry you up but I need to check if your fix did help me a well.</p>
</p>
<p>Thanks in advance.</p>
<p>Yuri</p>
<p>(BTW, thanks a lot for such good Grid)</p>
]]></description>
        	        	<pubDate>Fri, 19 Mar 2010 15:38:31 +0200</pubDate>
        </item>
        <item>
        	<title>tony on setCell Function with empty Value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p15806</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p15806</guid>
        	        	<description><![CDATA[<p>Hello</p>
<p>Thanks. Fixed. Will publish the fix late this day.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 18 Mar 2010 11:20:38 +0200</pubDate>
        </item>
        <item>
        	<title>Yurgen on setCell Function with empty Value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p15777</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p15777</guid>
        	        	<description><![CDATA[<p>Hi Tony!</p>
<p>Is there any update on this?</p>
<p>I have faced an issue having same nature ..... for some reason it happens under IE6/7 but not under IE8.</p>
</p>
<p>Thanks in advance.</p>
<p>Yurgen.</p>
]]></description>
        	        	<pubDate>Wed, 17 Mar 2010 17:37:14 +0200</pubDate>
        </item>
        <item>
        	<title>tony on setCell Function with empty Value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p13231</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p13231</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I&#39;m thinking on additional parameter forceUpdate, which maybe will do the job.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 22 Dec 2009 08:56:42 +0200</pubDate>
        </item>
        <item>
        	<title>ben on setCell Function with empty Value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p13124</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p13124</guid>
        	        	<description><![CDATA[</p>
<p>Maybe something can be done considering undefined, null and "" are three different values.</p>
]]></description>
        	        	<pubDate>Thu, 17 Dec 2009 16:10:13 +0200</pubDate>
        </item>
        <item>
        	<title>tony on setCell Function with empty Value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p13117</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p13117</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks for this and seems reasonable, But this will brake the situation where we want to set a new</p>
<p>class or other attributes without to tuch the cell values.</p>
<p>I will try to find better solution.</p>
<p>Thanks</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 17 Dec 2009 15:24:55 +0200</pubDate>
        </item>
        <item>
        	<title>Hannes KÃ¤ufler on setCell Function with empty Value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p13082</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/setcell-function-with-empty-value#p13082</guid>
        	        	<description><![CDATA[<p>Hi!</p>
<p>When I&#180;m using Cell Edit with custom Select, I have an option with value="". But this breaks the Grid.</p>
<p>I had to alter grid.base.js on line 2122</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8927' value='Select Code' data-codeid='sfcode8927' /></p>
<div class='sfcode' id='sfcode8927'>$(tcell).html(v).attr("title",$.jgrid.stripHtml(v));</div>
<p>to&#160;</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit978' value='Select Code' data-codeid='sfcode978' /></p>
<div class='sfcode' id='sfcode978'>
<p>if (v == "" &#124;&#124; v == undefined) {</p>
<p><span> </span>$(tcell).empty().attr("title", "");</p>
<p><span> </span>}</p>
<p><span> </span>else {</p>
<p><span> </span>$(tcell).html(v).attr("title",$.jgrid.stripHtml(v));</p>
<p><span> </span>}</p>
</div>
<p>There&#180;s most likely a better way to fix this, but that&#180;s what I did.</p>
</p>
<p>Greetings, Hannes</p>
</p>
<p>Btw. awesome plugin!</p></p>
]]></description>
        	        	<pubDate>Wed, 16 Dec 2009 16:01:31 +0200</pubDate>
        </item>
</channel>
</rss>