Tree userdata is not serialized.
To reproduce, look at the sample:
dhtmlx.com/docs/products/doc … ndex.shtml
Samples > dhtmlxTree > Getting Tree Data > User Data
It appears that the tree user data that was prepopulated is correctly serialized. However, that is actually duplicate data under the books item. If you select the Books node and type in ‘Author’, ‘Mode’, or ‘Created’ and click ‘Get item user data’, you get the duplicate user data from under the Books node. If you change the tree user data, or add other data using ‘Set tree user data’, the new values are not present when you click ‘Serialize’.
I need to be able to save tree user data. What is the work-around?
Thanks,
Ryan
Problem with serialization of tree-level userdata - confirmed and fixed ( serialization worked correctly for items, but ignored userdata attached to tree itself )
Please contact us directly at support@dhtmlx.com and provide your ref. number - we will send you an updated js file.