Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Àlex Corretgé on Feb 14, 2008 11:11
open dhtmlx forum
dhtmlxTree serializeTree lost userData

Hi, when I serialize a Tree to XML with

treeassoc = myTree.serializeTree();

I lost the userData.

Is there a workarround to get the userData fields?

Thanks

Kind Regards
Àlex Corretgé
Answer posted by Support on Feb 15, 2008 05:23
By default result of serialization not includes userdata, but such behavior can be enabled by
       tree.setSerializationLevel(true);

Please beware that latest version of tree has known issue with not including top level userdata in serialization string. If you need a fix for it - please contact us directly at support@dhtmlx.com