<?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: Custom formatter question.</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/custom-formatter-question</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/custom-formatter-question/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Custom formatter question.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-formatter-question#p6984</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-formatter-question#p6984</guid>
        	        	<description><![CDATA[<p>Hello</p>
<p>formatter : function ( cellvalue, options, rowObject )</p>
<p>{</p>
<p>return "&#60;font color=&#39;red&#39;&#62;"+cellval+"&#60;/font&#62;";</p>
<p>}</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 31 May 2009 11:22:14 +0300</pubDate>
        </item>
        <item>
        	<title>dig on Custom formatter question.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-formatter-question#p6968</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-formatter-question#p6968</guid>
        	        	<description><![CDATA[</p>
<p>I have seen the function below and I am curious to know if&#160;you can have html tags as part of the returned value.&#160; For example, if I wanted to make a date value the color red if it was in the past and green if it was in the future could I use this function to wrap the data value in a font or span tag? Are there any examples of this out there?</p>
<p>Thanks!</p>
<p>formatter : function ( cellvalue, options, rowObject )</p>
<p>{</p>
<p>// format the cellvalue to new format</p>
<p>return new_formated_cellvalue;</p>
<p>}"</p>
]]></description>
        	        	<pubDate>Fri, 29 May 2009 18:35:23 +0300</pubDate>
        </item>
</channel>
</rss>