<?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: Display Image jqgrid + json + mysql</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/display-image-jqgrid-json-mysql</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/display-image-jqgrid-json-mysql/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Display Image jqgrid + json + mysql</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/display-image-jqgrid-json-mysql#p17688</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/display-image-jqgrid-json-mysql#p17688</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I suggest you to look first into the examples. There is such one using local data.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 02 Jun 2010 21:02:23 +0300</pubDate>
        </item>
        <item>
        	<title>Romulo Silva on Display Image jqgrid + json + mysql</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/display-image-jqgrid-json-mysql#p17621</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/display-image-jqgrid-json-mysql#p17621</guid>
        	        	<description><![CDATA[<p>Good evening, I have problems with the jqgrid + json for displaying  images,</p>
<p>I use mysql, there is a table with the url of the image I  would like to display on the grid, unfortunately I can not put the url  on the grid.</p>
<p>Here we go, </p>
<p>colModel:[<br />{Name:  &#39;campo_url_img&#39;, index: &#39;url_img&#39;, width: 80, align: "left", sortable:  true, sortable: true, editable: true, edittype: &#39;image&#39;, editoptions:  {src: &#39;url of image &#39;}, editrules: {required: false, edithidden: true}}<br />],</p>
<p>How  can I pass the location of src to the grid?<br />I&#39;m throwing the  information on the grid through a vector:</p>
<p>$i=0;<br />foreach(  $vetor as $x =&#62; $row ){<br /> foreach( $row as $idEquipament =&#62;  $valor )<br /> $row[$idEquipament] = utf8_encode($valor);<br /> $responce-&#62;rows[$i][&#39;id&#39;] = $row[&#39;idEquipament&#39;];<br /> $row[ &#39;idEquipament&#39; ],<br /> $row[  &#39;url_img&#39; ]<br /> );<br /> $i++;<br /> } <br />echo  $json-&#62;encode($responce);</p>
<p>could you help me? an example?</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Tue, 01 Jun 2010 00:19:59 +0300</pubDate>
        </item>
</channel>
</rss>