dhtmlXGrid serialization of special characters

We need to allow users to enter characters such as “<”, “>” and “&” into an edtxt cell, but when the grid is serialized these characters are not escaped and the resultsing XML is invalid. Is there an easy way to have the grid replace these with the appropriate entities?

You can configure serialization options by setSerializationLevel command, it allows to enable CDATA sections for cell values ( such sections can contain any chars, including & < >)