<?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: changing the color and more ...</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more</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/changing-the-color-and-more/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>phicarre on changing the color and more ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11876</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11876</guid>
        	        	<description><![CDATA[<p>Yes, it&#39;s not clear.</p>
<p>I repeat my question:</p>
<p>rowelem is for a string of values separated by comma: val1,val2,,val4</p>
<p>I can do rowelem[2] for extracting val2 but it&#39;s not elegant !</p>
<p>Is it possible to use the colModel name (or something other) for extracting ?</p></p>
]]></description>
        	        	<pubDate>Thu, 12 Nov 2009 18:16:53 +0200</pubDate>
        </item>
        <item>
        	<title>tony on changing the color and more ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11859</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11859</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Here is the description:</p>
<p><em>"rowelem</em> is the element from the response. If the data is xml this is the xml element of the row; if the data is json this is array containing all the data for the row"</p>
<p>Is something that is not clear?</p>
]]></description>
        	        	<pubDate>Thu, 12 Nov 2009 10:59:33 +0200</pubDate>
        </item>
        <item>
        	<title>phicarre on changing the color and more ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11855</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11855</guid>
        	        	<description><![CDATA[<p>The extraction of data from rowelem is not explained for the afterInserRow event !</p>
]]></description>
        	        	<pubDate>Thu, 12 Nov 2009 10:50:02 +0200</pubDate>
        </item>
        <item>
        	<title>tony on changing the color and more ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11844</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11844</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Look depper here:</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:events" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....iki:events</a></p>
<p>the data is array, and can not be used your way</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 12 Nov 2009 10:15:21 +0200</pubDate>
        </item>
        <item>
        	<title>phicarre on changing the color and more ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11797</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11797</guid>
        	        	<description><![CDATA[<p>Thank you. For me, even after a read of the documentation, it was not evident.</p>
<p>As I want to change the color when I populate the grid, I think the solution is the afterInserRow event and the setCell method.</p>
<p>&#8230;</p>
<p>afterInserRow: function (row,data) {</p>
<p>&#160;if (data &#62; value_1 &#38;&#38; data &#60; value_2) {</p>
<p>&#160; jquery(&#8221;#myGrid&#8221;).setCell(row, &#8230;{color:&#39;red&#39;})</p>
<p>}</p>
</p>
<p>BUT</p>
<p>data is undefined for me ! probably because I populate by json.</p>
<p>I changed like this:</p>
<p>afterInserRow: function (row, data, rowelem) {</p>
<p>&#160;if (??? &#62; value_1 &#38;&#38; ??? &#60; value_2) {</p>
<p>&#160; jquery(&#8221;#myGrid&#8221;).setCell(row, &#8230;{color:&#39;red&#39;})</p>
<p>}</p>
<p>rowelem is for me a string of values separated by comma: val1,val2,,val4</p>
<p>I can do rowelem[2] for extracting val2 but it&#39;s not elegant !</p>
<p>Is it possible to use the colModel name for extracting ?</p>
]]></description>
        	        	<pubDate>Wed, 11 Nov 2009 08:36:59 +0200</pubDate>
        </item>
        <item>
        	<title>tony on changing the color and more ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11777</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11777</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>1. You can use many option for this purpose.</p>
<p>1.1 use the new classes option in colModel to attach class to particular column.</p>
<p>1.2 use setCell method to change the apperianse and data to particular cell</p>
<p>1.3 use setRowData to set some classes to particular row</p>
<p>1.3 For dynamic changing during retrieving of data you can use afterInserRow event</p>
</p>
<p>2. You can use the formatter showLink maybe</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:predefined_formatter" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>....._formatter</a></p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 11 Nov 2009 03:10:38 +0200</pubDate>
        </item>
        <item>
        	<title>phicarre on changing the color and more ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11748</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11748</guid>
        	        	<description><![CDATA[<p>I&#160; found for the points 3 &#38; 4</p>
<p>I didn&#39;t search for the point 2</p>
<p>I didn&#39;t find for the point 1</p>
]]></description>
        	        	<pubDate>Tue, 10 Nov 2009 12:35:38 +0200</pubDate>
        </item>
        <item>
        	<title>tony on changing the color and more ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11730</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11730</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Sorry if this sound so, but you should understand that this is a open source software and before to make some question or post a problem you should first read the documentation and search the forum for such kind of solutuions. If you are "newbe" you should know these things that are common for the open source community.</p>
<p>Believ me I want to help of all users, but I shoud work - I have family and I must pay my bills.</p>
<p>Hope You understand waht I mean.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 10 Nov 2009 09:15:30 +0200</pubDate>
        </item>
        <item>
        	<title>phicarre on changing the color and more ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11678</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11678</guid>
        	        	<description><![CDATA[<p>The welcome is cold for a newbie ...</p>
]]></description>
        	        	<pubDate>Mon, 09 Nov 2009 12:42:10 +0200</pubDate>
        </item>
        <item>
        	<title>tony on changing the color and more ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11674</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11674</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The answer of all of these quastions can be fiund into the documentation and/or in this forum.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 09 Nov 2009 11:01:19 +0200</pubDate>
        </item>
        <item>
        	<title>phicarre on changing the color and more ...</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11660</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/changing-the-color-and-more#p11660</guid>
        	        	<description><![CDATA[<p>I discovered this jquery plugin. Please apologize me for my questions...</p>
</p>
<p>1) Which could be the best method for changing the color of field(s) according to diverses criteria ?</p>
<p>the color or the style (bold, italic, ...)</p>
<p>2) How to insert an hyperlink in a field ?</p>
<p>3) How to insert a checkbox or a radio box in a field ?</p>
<p>4) Is it possible to display a photo in a field ?</p></p>
]]></description>
        	        	<pubDate>Mon, 09 Nov 2009 09:56:45 +0200</pubDate>
        </item>
</channel>
</rss>