<?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: &#091;Patch&#093; Row highlighting in celledit</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/patch-row-highlighting-in-celledit</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/patch-row-highlighting-in-celledit/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on &#091;Patch&#093; Row highlighting in celledit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/patch-row-highlighting-in-celledit#p2826</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/patch-row-highlighting-in-celledit#p2826</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thank you, will make some tests with this.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 31 Oct 2008 02:05:25 +0200</pubDate>
        </item>
        <item>
        	<title>Joris on &#091;Patch&#093; Row highlighting in celledit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/patch-row-highlighting-in-celledit#p2808</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/patch-row-highlighting-in-celledit#p2808</guid>
        	        	<description><![CDATA[<p>This patch highlights the current row when using celleditting:</p>
<p>grid.celledit.js:</p>
<p>Line 64:</p>
</p>
<p>if(parseInt($t.p.iCol)&#62;=0 &#160;&#38;&#38; parseInt($t.p.iRow)&#62;=0) {</p>
<p><span> </span>$("td:eq("+$t.p.iCol+")",$t.rows[$t.p.iRow]).removeClass("edit-cell");</p>
<p><span> </span>$($t.rows[$t.p.iRow]).removeClass("selected-row"); // added</p>
<p>}</p>
<p>$($t.rows[iRow]).addClass("selected-row"); // added</p>
<p>$(cc).addClass("edit-cell");</p>
<div></div>
<div></div>
<div></div>
<div>Line 90:</div>
<div>
<div>if (parseInt($t.p.iCol)&#62;=0 &#160;&#38;&#38; parseInt($t.p.iRow)&#62;=0) {</div>
<div><span> </span>$("td:eq("+$t.p.iCol+")",$t.rows[$t.p.iRow]).removeClass("edit-cell");</div>
<div><span> </span>$($t.rows[$t.p.iRow]).removeClass("selected-row");//added</div>
<div>}</div>
<div>$($t.rows[iRow]).addClass("selected-row");//added</div>
<div>$("td:eq("+iCol+")",$t.rows[iRow]).addClass("edit-cell");</div>
</div>
<div></div>
<div></div>
<div></div>
<div>grid.css: Add the class selected-row:</div>
<div>
<div>.selected-row, .selected-row TD {</div>
<div><span style="white-space: pre;"> </span>background-color: blue;&#160;</div>
<div>}</div>
<div>and set the edit-cell bgcolor to !important:</div>
</div>
<div></div>
<div>
<div>.edit-cell {</div>
<div><span> </span>background-color: #E1DCF4&#160;!important;</div>
<div>}</div>
</div>
<div></div>
<div></div>
<div></div>
<div>My linenumbers aren&#39;t 100% correct, but it should be easy to find.</div>
]]></description>
        	        	<pubDate>Thu, 30 Oct 2008 05:38:14 +0200</pubDate>
        </item>
</channel>
</rss>