Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by XAXAN on Jan 12, 2009 04:37
open dhtmlx forum
Changed tree stucture by DragAndDrop and save after refreshing

How to save tree changings by DragAndDrop after refresh of bowser
SaveOpenStates() and SaveStates() works only when nodes is open but if i changed places (by DragAndDrop) it can't save after refreshing there are same structure of tree

Thanks
Answer posted by Support on Jan 12, 2009 07:12
saveOpenStates and loadOpenStates - will save only open|closed state of tree items in cookie
saveState and loadState - will save full state of tree so it can be used to save ( in cookie ) tree after d-n-d

Please beware that saveState functionality is limited by cookie size, so it can be used for small trees only.