Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Udhayabalachandar on Apr 02, 2008 04:52
open dhtmlx forum
Special Characters in DHTML Grid

Hi dude...

How can we display the special characters like &,%,/ in the grid....

When I fetch the & from database and write in the XML.. when its is loading it shows error message loadXML error

How can I solve this problem....


Thanks and regards
Udhaya
Answer posted by Support on Apr 02, 2008 07:06
The & char need to be threated in special way ( this is not related to component, just rule of XML syntax )
You can
    a) escape it
       <cell>A &amp; B</cell>

    b) use CDATA section
       <cell><![CDATA[ A & B ]]></cell>