Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Prasad on Apr 14, 2008 06:24
open dhtmlx forum
Image in cell tag

Hello,

I have image within the cell tag. Cell may contain image with data also.
I tried this code in xml.

<cell><img src='D:/xxx.jpg'></img></cell>

But I am not able to get Image.
?

Answer posted by Support on Apr 14, 2008 06:50
You need to escape HTML tags inside cell
    <cell>&lt;img src='D:/xxx.jpg'&gt;&lt;/img&gt;</cell>
or use CDATA
    <cell><![CDATA[ <img src='D:/xxx.jpg'></img> ]]></cell>