<?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: Edit html content in cells ?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/edit-html-content-in-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/edit-html-content-in-cells/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>hackmetal on Edit html content in cells ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/edit-html-content-in-cells#p24748</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/edit-html-content-in-cells#p24748</guid>
        	        	<description><![CDATA[<p>Hi =)</p>
<p>I&#39;m trying to use jQgrid to edit some regular expressions, having any kind of form, even html tags,</p>
<p>example :</p>
<p>&#124;&#60;td class=num&#62;d+.&#60;/td&#62;.*&#60;td&#62;&#60;a href="(.*)"&#62;(.*)&#60;/a&#62;&#60;/td&#62;&#124;siU</p>
</p>
<p>If I don&#39;t format the result from the database, the xml will be like that :</p>
<p>&#60;row id="9&#8243;&#62;<br />&#60;cell&#62;9&#60;/cell&#62;<br />&#60;cell&#62;&#124;&#60;td class=num&#62;d+.&#60;/td&#62;.*&#60;td&#62;&#60;a href="(.*)"&#62;(.*)&#60;/a&#62;&#60;/td&#62;&#124;siU<br />&#60;/cell&#62;<br />&#60;/row&#62;</p>
<p>And the cell in jQgrid will then displey only "&#124;"</p>
<p>So I tried to htmlentities( ) the data.</p>
<p>Then the xml will be like this</p>
<p>&#60;cell&#62;<br />&#124;&#38;lt;td class=num&#38;gt;d+.&#38;lt;/td&#38;gt;.*&#38;lt;td&#38;gt;&#38;lt;a href=&#38;quot;(.*)&#38;quot;&#38;gt;(.*)&#38;lt;/a&#38;gt;&#38;lt;/td&#38;gt;&#124;siU<br />&#60;/cell&#62;</p>
<p>Then the cell will be looking great :</p>
<p>[Image Can Not Be Found]</p>
<p>but if i click it to edit, It will show me the html entities</p>
<p>[Image Can Not Be Found]</p>
<p>Is there a way to format the cell while editing ? I would like to get the same format with html tags etc.</p>
</p>
<p>Thank you in advance for your help =)</p>
<p>Anthony</p>
]]></description>
        	        	<pubDate>Tue, 27 Sep 2011 23:20:41 +0300</pubDate>
        </item>
</channel>
</rss>