<?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: 3.5 â€“ Multiple Formats</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/35-multiple-formats-1</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/35-multiple-formats-1/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>dom974 on 3.5 â€“ Multiple Formats</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-multiple-formats-1#p7418</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-multiple-formats-1#p7418</guid>
        	        	<description><![CDATA[<blockquote>
<p>Tony said:</p>
<p>Hello,</p>
<p>Write your own custom formater function</p>
<p>var myformatter = function(cellval, opt, data) {</p>
<p>if( some condition) return value_1</p>
<p>else if (other condition) return value_2</p>
<p>else return value3</p>
<p>}</p>
</blockquote>
<hr />
<p>Hello Tony,</p>
<p>Where should I place the function, inside the &#8220;jQuery(&#8221;#xxx&#8221;).jqGrid&#8221; ?</p>
<p>Thank you</p>
<p>Dominique</p>
]]></description>
        	        	<pubDate>Tue, 23 Jun 2009 06:23:22 +0300</pubDate>
        </item>
        <item>
        	<title>tony on 3.5 â€“ Multiple Formats</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-multiple-formats-1#p7404</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-multiple-formats-1#p7404</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Write your own custom formater function</p>
<p>var myformatter = function(cellval, opt, data) {</p>
<p>if( some condition) return value_1</p>
<p>else if (other condition) return value_2</p>
<p>else return value3</p>
<p>}</p>
]]></description>
        	        	<pubDate>Tue, 23 Jun 2009 02:40:55 +0300</pubDate>
        </item>
        <item>
        	<title>casperd on 3.5 â€“ Multiple Formats</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/35-multiple-formats-1#p7386</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/35-multiple-formats-1#p7386</guid>
        	        	<description><![CDATA[<div id="post7351">
<p>Hi,</p>
<p>Is it possible to assign more than one format to a cell?</p>
<p>I have a cell, that i need the following formatting on:</p>
<p>&#160;1) The built-in &#8220;date&#8221; format, to display my date as &#39;yyyy-mm-dd&#39;; and then also</p>
<p>&#160;2) I have written a custom format function to display dates in red if the date is in the past.</p>
<p>How do I specify in the col model to use both formats at once?</p>
<p>Thanks!</p>
</div>
]]></description>
        	        	<pubDate>Mon, 22 Jun 2009 01:31:59 +0300</pubDate>
        </item>
</channel>
</rss>