<?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: Adding dynamic images to cells</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/adding-dynamic-images-to-cells</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/adding-dynamic-images-to-cells/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>SimonL on Adding dynamic images to cells</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-dynamic-images-to-cells#p10043</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-dynamic-images-to-cells#p10043</guid>
        	        	<description><![CDATA[<p>Guys (<strong>MamaliFrenchi and </strong><strong>scottw512)</strong>,</p>
</p>
<p>Thank you very much both of you for your replies. The combination of these 2 posts put me on the right track and I now have images being delivered directly from my backend database and appearing in the grid.</p>
</p>
<p>Thanks again,</p>
<p>Simon</p>
]]></description>
        	        	<pubDate>Wed, 23 Sep 2009 09:01:43 +0300</pubDate>
        </item>
        <item>
        	<title>scottw512 on Adding dynamic images to cells</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-dynamic-images-to-cells#p9779</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-dynamic-images-to-cells#p9779</guid>
        	        	<description><![CDATA[<p>I&#39;ve done this by embedding an img tag in the cell contents. The src attribute can point to any url you want. It can be "dynamic" as long as the server code that processes it sends the right response headers and content. The only issue I have is that if the cell is editable, it puts the entire HTML in the textbox when I go into edit mode. Here&#39;s some sample HTML for the image cell.</p>
</p>
<div class="nodeChildBox">
<div class="nodeBox textNodeBox repIgnore">
<div class="nodeLabel"><span class="nodeLabelBox repTarget">&#60;<span class="nodeTag">div</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">style</span>="<span class="nodeValue editable">float: left;</span>"</span><span class="nodeBracket editable insertBefore">&#62;</span><span class="nodeText editable">test img</span>&#60;/<span class="nodeTag">div</span>&#62;</span></div>
</div>
<div class="nodeBox containerNodeBox repIgnore open">
<div class="nodeLabel"><span class="nodeLabelBox repTarget">&#60;<span class="nodeTag">div</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">style</span>="<span class="nodeValue editable">padding-top: 2px; float: right;</span>"</span><span class="nodeBracket editable insertBefore">&#62;</span></span></div>
<div class="nodeChildBox">
<div class="nodeBox emptyNodeBox repIgnore">
<div class="nodeLabel"><span class="nodeLabelBox repTarget">&#60;<span class="nodeTag">img</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">height</span>="<span class="nodeValue editable">12</span>"</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">width</span>="<span class="nodeValue editable">12</span>"</span><span class="nodeAttr editGroup">&#160;<span class="nodeName editable">src</span>="<span class="nodeValue editable">/images/web/001_06.png</span>"</span><span class="nodeBracket editable insertBefore">/&#62;</span></span></div>
</div>
</div>
<div class="nodeCloseLabel"><span class="nodeCloseLabelBox repTarget">&#60;/<span class="nodeTag">div</span>&#62;</span></div>
</div>
</div>
]]></description>
        	        	<pubDate>Wed, 16 Sep 2009 15:33:41 +0300</pubDate>
        </item>
        <item>
        	<title>MamaliFrenchi on Adding dynamic images to cells</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-dynamic-images-to-cells#p9534</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-dynamic-images-to-cells#p9534</guid>
        	        	<description><![CDATA[<p>you can always post from jqGrid to a HttpHandler to render all kind of images format.</p>
]]></description>
        	        	<pubDate>Wed, 09 Sep 2009 21:41:34 +0300</pubDate>
        </item>
        <item>
        	<title>SimonL on Adding dynamic images to cells</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-dynamic-images-to-cells#p9513</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-dynamic-images-to-cells#p9513</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I suspect that adding dynamic images to a cell is currently not possible , at least I certainly haven&#39;t seen an example of it in the forums. What I mean by dynamic images is that I have image data stored in a database that I would like to render in a column of the grid. Using ASP.NET MVC its very easy to write the server side code that retrieves the image from the database. But how can I use jqgrid/jquery to convert that "binary" data&#160; and de-serialize it as an image. At no point does it exist as a file, (I realise I could use server side code to extract and save each image blob to a file on the server and then retrieve the file but thats not a path&#160; I want to go down. Any thoughts ?</p>
</p>
<p>Regards,</p>
<p>Simon</p>
]]></description>
        	        	<pubDate>Wed, 09 Sep 2009 07:12:27 +0300</pubDate>
        </item>
</channel>
</rss>