<?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: jgrid change the rows color ?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jgrid-change-the-rows-color</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/help/jgrid-change-the-rows-color/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on jgrid change the rows color ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jgrid-change-the-rows-color#p23365</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jgrid-change-the-rows-color#p23365</guid>
        	        	<description><![CDATA[<p>From the "long" problem description which you posted it is not clear whether you need to set the cell color or the row color. About different ways of changing of the cell color see <a href="http://stackoverflow.com/questions/4942761/how-to-change-the-color-of-jqgrid-cell/4943722#4943722" target="_blank">here</a>.</p>
<p>If you need change the row color you should take in the consideration that the rowid (the value "3" in your example) is just the id of the &#60;tr&#62; element of the grid so you can get it with jQuery("#list").find("tr#3") or just with jQuery("#3"). So you can change the background color on the row directly. You should take in consideration that other classes of the row like &#39;ui-widget-content&#39; could has background-image can disturb the background collor changing. So you have some options to fix the problem: see <a href="http://stackoverflow.com/questions/2931732/jqgrid-coloring-an-entire-line-in-grid-based-upon-a-cells-value/2936673#2936673" target="_blank">here</a>, <a href="http://stackoverflow.com/questions/4123526/set-row-style-on-jquery-grid/4123892#4123892" target="_blank">here</a> and <a href="http://stackoverflow.com/questions/4369899/jqgrid-zebra-alt-rows-background-not-working-due-to-ui-theme-class/4382122#4382122" target="_blank">here</a>&#160; (the last one describes another problem at the first look, but it shows how to add new class which change the background color to the row, so shows one more way to solve the problem).</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Fri, 27 May 2011 11:25:29 +0300</pubDate>
        </item>
        <item>
        	<title>xmmxp on jgrid change the rows color ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jgrid-change-the-rows-color#p23359</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jgrid-change-the-rows-color#p23359</guid>
        	        	<description><![CDATA[<p>jQuery("#list").setCell ("3&#8243;,"åœ°å€",&#39;&#39;,{&#39;background&#39;:&#39;#ff0000&#39;});</p>
<p>why i can not get the color in my jgrid-table</p>
]]></description>
        	        	<pubDate>Fri, 27 May 2011 07:49:58 +0300</pubDate>
        </item>
</channel>
</rss>