Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ryan Millar on Jan 28, 2008 12:32
open dhtmlx forum
Tree userdata is not serialized

Tree userdata is not serialized.

To reproduce, look at the sample:
http://www.dhtmlx.com/docs/products/docsExplorer/index.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
Answer posted by Support on Jan 29, 2008 03:02
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.