<?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: flag icons in row</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/flag-icons-in-row</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/flag-icons-in-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>highrise on flag icons in row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/flag-icons-in-row#p8191</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/flag-icons-in-row#p8191</guid>
        	        	<description><![CDATA[<p>thank you! I will try this out and if I get it working I will post it here for the community</p>
]]></description>
        	        	<pubDate>Mon, 03 Aug 2009 00:32:34 +0300</pubDate>
        </item>
        <item>
        	<title>Romyn on flag icons in row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/flag-icons-in-row#p8190</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/flag-icons-in-row#p8190</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>If you look at the javascript in this example...</p>
<p><a href="http://www.thekmz.co.uk/GEPlugin/wip/test/gridtest2/new/gridtest2.htm" rel="nofollow" target="_blank"><a href="http://www.thekmz.co.uk/GEPlug" rel="nofollow">http://www.thekmz.co.uk/GEPlug</a>.....dtest2.htm</a></p>
<p>...it demostrates 2 methods I&#39;ve used in the past.</p>
</p>
<p>Col1 is done by setting the image using setcell after the grid has loaded.</p>
<p>Col2 is done by using the formatter which is the method I now use and is probably cleaner. In my case if the value in the cell=1 show the image - if it&#39;s 0 don&#39;t. The same principle would work with country codes.</p>
</p>
<p>However if you want to do it within your data, as opposed to with a format, then method 1 gives an idea of the format of the cell contents you&#39;d need.</p>
</p>
<p>(Ignore the other stuff in there - that&#39;s just there to switch between show/hide image when clicking on the cells)</p>
</p>
<p>Hope that helps a bit - you&#39;ll probably need something slightly different but the basic idea is there I think.</p>
</p>
<p>Regards</p>
<p>Romyn</p></p>
]]></description>
        	        	<pubDate>Mon, 03 Aug 2009 00:28:31 +0300</pubDate>
        </item>
        <item>
        	<title>highrise on flag icons in row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/flag-icons-in-row#p8189</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/flag-icons-in-row#p8189</guid>
        	        	<description><![CDATA[<p>hi there, I&#39;m hoping someone can help me with this, it should be a useful feature for others as well. I am generating a grid which has a &#39;country&#39; column. however, it takes up some space so I was hoping I might instead use a set of tiny flags like these ones:</p>
</p>
<p><img src="http://www.newmusicplatform.com/gifs/flags/us.gif" width="16"  class="sfimageleft spUserImage" alt="" /> <img src="http://www.newmusicplatform.com/gifs/flags/gb.gif" width="16"  class="sfimageleft spUserImage" alt="" /> <img src="http://www.newmusicplatform.com/gifs/flags/de.gif" width="16"  class="sfimageleft spUserImage" alt="" /></p>
</p>
<p>basically, the images are all named after their internet codes which are kept in the database, it is quite simple to auto-generate the path of the correct flag image. The question is, how do I implement this into a jqGrid?</p>
</p>
<p>thanks in advance</p>
]]></description>
        	        	<pubDate>Sun, 02 Aug 2009 22:43:01 +0300</pubDate>
        </item>
</channel>
</rss>