View Full Version : TreePanel AsyncLoader - how to save collapsed nodes
Speed666
02-21-2007, 07:02 AM
Hi,
I need to save the tree state when user will reload the page - i think the best idea is cookie - but how to do that?
Thanks,
Marcin from PL
BernardChhun
02-21-2007, 07:28 AM
Hi,
I need to save the tree state when user will reload the page - i think the best idea is cookie - but how to do that?
Thanks,
Marcin from PL
If you use the TreePanel's AsyncLoader, there's no need to save it client side. The tree's loader will make the appropriate call to your server to get the Tree's state.
When you append a new TreeNode for example, just make a call to your server saying there's a new node.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.