Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Hari on Oct 26, 2007 21:28
open dhtmlx forum
DHTML Tree - Retaining the opened nodes in the tree after server operations

I am loading the xml from server side first after which the user opens some nodes. Once, the user clicks a leaf node, I want to perform some operations in the server side after which I want the tree to look the same (i.e. the opened nodes should look open etc instead of going back to the original state). Is it possible?

Thanks,
Hari
Answer posted on Oct 29, 2007 07:11
So you need to reload all page but mantain tree state, right?

Tree can save his state in cookie and restore from it after reload, you can check live sample
http://dhtmlx.com/docs/products/dhtmlxTree/samples/initialization_general_settings/pro_cookies.html