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�

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