<?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: Load an image into a cell</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/load-an-image-into-a-cell</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/load-an-image-into-a-cell/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>michaelg on Load an image into a cell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/load-an-image-into-a-cell#p18811</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/load-an-image-into-a-cell#p18811</guid>
        	        	<description><![CDATA[<p>Hi Rottweiler,</p>
</p>
<p>You could also do it client-side, by using a custom validator.</p>
</p>
<p>Cheers,<br />Michael</p>
]]></description>
        	        	<pubDate>Mon, 26 Jul 2010 08:14:38 +0300</pubDate>
        </item>
        <item>
        	<title>Reg on Load an image into a cell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/load-an-image-into-a-cell#p18809</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/load-an-image-into-a-cell#p18809</guid>
        	        	<description><![CDATA[<p>Sorry, wasn&#39;t clear. Yes, this code comes from my server-side program that creates the html (or xml string) and all it really needs is to include an img tag into the returned data.</p>
<p>Reg</p>
]]></description>
        	        	<pubDate>Sun, 25 Jul 2010 22:04:06 +0300</pubDate>
        </item>
        <item>
        	<title>Rottweiler on Load an image into a cell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/load-an-image-into-a-cell#p18806</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/load-an-image-into-a-cell#p18806</guid>
        	        	<description><![CDATA[<p>Thanks, Reg.</p>
<p>Do I understand that all the code you&#39;re showing is running server side? So you are (simplifying) just poking an &#39;img&#39; tag into the cell contents? Is that the gist?</p>
]]></description>
        	        	<pubDate>Sun, 25 Jul 2010 19:53:49 +0300</pubDate>
        </item>
        <item>
        	<title>Reg on Load an image into a cell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/load-an-image-into-a-cell#p18805</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/load-an-image-into-a-cell#p18805</guid>
        	        	<description><![CDATA[<p>Hello Rottweiler,</p>
<p>Yes this can be done, I do it all the time for exactly the same reasons -- in a grid showing what&#39;s what (but no in-line editing) I hate to see True/False or Yes/No, so I handle it this way (your syntax may vary)</p>
<p>"Active" is a boolean field in my data; set the image</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4972' value='Select Code' data-codeid='sfcode4972' /></p>
<div class='sfcode' id='sfcode4972'>
<p>If Active <br />&#160;&#160;&#160; ActiveImage = &#34;&#60;img border=&#39;0&#39; src=&#39;&#34; + path and name of checked image + &#34;&#39; alt=&#39;&#39; /&#62;&#34;<br />Else<br />&#160;&#160;&#160; ActiveImage = &#34;&#60;img border=&#39;0&#39; src=&#39;&#34; + path and name of empty checkbox + &#34;&#39; alt=&#39;&#39; /&#62;&#34;<br />EndIf</p>
</div>
<p>If you are going to edit these records in a form, then add a hiddenfield with the raw data</p>
<p><input type='button' class='sfcodeselect' name='sfselectit127' value='Select Code' data-codeid='sfcode127' /></p>
<div class='sfcode' id='sfcode127'>lcActive = Iif(Active,&#39;Yes&#39;,&#39;No&#39;)</div>
<p>Incude both fields in your output string</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6795' value='Select Code' data-codeid='sfcode6795' /></p>
<div class='sfcode' id='sfcode6795'>
<p>lcXMLContent = lcXMLContent ;<br />&#160; + CRLF + [&#60;row id = &#34;] +&#160;somerowID value&#160;+ [&#34;&#62;] ;<br />&#160; several other fields on this row<br />&#160; + CRLF + &#34;&#60;cell&#62;&#60;![CDATA[&#34; + lcActive + &#34;]]&#62;&#60;/cell&#62;&#34; ;<br />&#160; + CRLF + &#34;&#60;cell&#62;&#60;![CDATA[&#34; + lcActiveImage + &#34;]]&#62;&#60;/cell&#62;&#34; ;<br />&#160; + CRLF + [&#60;/row&#62;]</p>
</p>
<p>Hope this helps</p>
<p>Reg</p>
</div>
]]></description>
        	        	<pubDate>Sun, 25 Jul 2010 19:26:35 +0300</pubDate>
        </item>
        <item>
        	<title>Rottweiler on Load an image into a cell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/load-an-image-into-a-cell#p18804</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/load-an-image-into-a-cell#p18804</guid>
        	        	<description><![CDATA[<p>Surely this is something that can be done. Can anyone offer me some hints?</p>
]]></description>
        	        	<pubDate>Sun, 25 Jul 2010 16:57:14 +0300</pubDate>
        </item>
        <item>
        	<title>Rottweiler on Load an image into a cell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/load-an-image-into-a-cell#p18772</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/load-an-image-into-a-cell#p18772</guid>
        	        	<description><![CDATA[<p>Can someone show me how to load an image into a cell (based on a conditional). I want to show a green checkmark if some cell is "true" and blank otherwise.</p>
<p>This is not for editing purposes. All the docs and everything I could find related to images seems to be only about making cells editable.</p>
</p>
<p>Any help?</p>
]]></description>
        	        	<pubDate>Fri, 23 Jul 2010 17:53:29 +0300</pubDate>
        </item>
</channel>
</rss>