Categories | Question details Back To List | ||
dhtmlXtree: can state be saved for multiple tree? If we have multiple trees on a page, or perhaps several different web sites with different trees on them, how with the state management function (using cookies)? Will it retain the state of each tree, or only the most recently saved tree? Any way to support saving off & reloading the states of multiple trees? Answer posted by Support on Jul 16, 2008 02:34 All cookie related operation has optional parameters , first of which is name of cookie , used to storing tree state. By using unique name you can mantain multiple tree states at same time. tree1.saveOpenStates("tree1") ... tree2.saveOpenStates("tree2") |