Categories | Question details Back To List | ||
dhtmlXGrid addRow problem with special characters I am having troubles with the addRow function in the dhtmlxgrid API. I have seen the suggestions to use CDATA or escape the text, but if I try either one in the addRow function, I see the result of the escaped text or the CDATA text in the grid. What am I doing wrong? Doing nothing prevents me from parsing the XML doc using the PHP DocumentDOM::loadXML() function with errors like this: DOMDocument::loadXML() [function.DOMDocument-loadXML]: xmlParseEntityRef: no name in Entity, line: 1 Answer posted by Support on May 29, 2008 04:02 When working on client side you need not to use escaping or CDATA while adding new rows. ( The CDATA has sense while loading data from XML, but it useless while adding new rows dynamically on client side) >>Doing nothing prevents me from parsing the XML doc using the PHP DocumentDOM::loadXML() I'm not sure in which scenario you are using mentioned functionality, but if you need to parse results of serialization, you can try to use grid.setSerializationLevel(false,false,false,false,false,true) Which will add CDATA sections automatically while data serialization. |