Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Prasad on Apr 11, 2008 15:02
open dhtmlx forum
<font> tag in cell tag

Hi,
I need to have some data in the cell with blue color.
I just tried in XML

<cell>Hi this is <font color='blue'>BLUE</font> color</cell>

I get only Hi This is in the cell.
What is problem?
How can I do?
Answer posted by Support on Apr 14, 2008 01:39
To process inline tags correctly you need escape them
    <cell>Hi this is &lt;font color='blue'&gt;BLUE&lt;/font&gt; color</cell>
or use CDATA sections
    <cell><![CDATA[ Hi this is <font color='blue'>BLUE</font> color ]]></cell>