Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Andrew Scott on Jan 02, 2008 12:50
open dhtmlx forum
Rendering special xml characters

Should dhtmlXGrid.loadXML be able to convert encodings like < and > back into '<' and '>'. I tried to use the technique in

http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&q=42&ssr=yes&s=xml

but received an error that setEscapingMode was not a function of my grid object.
Answer posted by Stanislav on Jan 04, 2008 15:04
setEscapingMode is tree specific command
Actually there must not be problem with such char, they must be correctly escaped in incoming XML ,  and browser will automatically convert all escaped sequences to original char on XML parsing. While sending data back to server, in case of dataProcessor grid uses "escape" functionality , which must not harm mentioned chars.

If you have problem with loading data with such chars - please provide problematic XML.