Categories | Question details Back To List | ||
HTML inited tree: Can I open the root element on load? I am a newbie using the free version of the tree, and using the html initialization option. When a page opens, can I display the tree with the root element opened? Answer posted by Support on Feb 06, 2009 05:26 There is no way to define such behavior as part of HTML configuration You can try to use mixed design, when HTML structure holds all data but initialization of tree triggered by script <div id="someHTMLID" //css class not specified ... <script> dhtmlxEvent("window","load",function(){ var tree = dhtmlXTreeFromHTML("someHTMLID") tree.openAllItems(); }); </script> |