Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Alois on May 19, 2008 14:33
open dhtmlx forum
load expaned tree from HTML

I'm using your free edition of dhtmlxtree.
I'm loading the data for my tree from HTML (classical html list).
Is it possible to expand certain nodes on default? Because when loaded, the tree is completly collapsed and you can only see first level nodes.
Thank you for Your reply.

Alois
Answer posted by Support on May 20, 2008 05:23
The current version of tree doesn't support any kind of "open" attribute while loading from HTML
If you know the IDs of nodes you can use

var tree = dhtmlXTreeFromHTML("some")
tree.openItem(item_id);