Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by rach on Jan 11, 2009 21:52
open dhtmlx forum
How can I show text "A&O" with XML Data in dhtmlxGrid?

My text is "A&O" then I generate with XML syntax to "A&O" but dhtmlxGrid to show only "A"

But if I change to "A& O" (insert space before O), it show correct text.

How can I show "A&O" in dhtmlxGrid?
Answer posted by Support on Jan 12, 2009 02:35
Problem caused by the way, how special characters handled in XML 
You can 
a) use data escaping
<row id="some"><cell><![CDATA[ A&amp;B ]]></cell></row>

b) use "text" column types, such as rotxt, edtxt, txttxt, corotxt - the text column types will work the same as normal ones, except they will process incoming data as text not as HTML