Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ryan on Aug 11, 2008 19:18
open dhtmlx forum
treegrid serialization

When I serialize my grid i noticed the following:

grid.serialize();

<rows><row id='s_28404'open='1'> -- note that there is no space between the id and open attribute.It throws an error if I processed the xml from the server. I also noticed that the encoding is not included on xml element. It only displays:
<?xml version="1.0" ?> instead of <?xml version="1.0" encoding="utf-8" ?>
Answer posted by Support on Aug 12, 2008 01:30

>>It throws an error if I processed the xml from the server
Problem already fixed. Fix will be included in next build. If you need it ASAP - please contact us directly at support@dhtmlx.com

>> I also noticed that the encoding is not included on xml element
It is not possible to detect used|desired encoding from javascript. When encoding attribute not set, UTF-8 will be used as default encoding.