Only expand of top nodes?
Posted: Mon Feb 12, 2007 10:50 am
As far as I know there are only options to expand or collapse tree at init by setting the option in the script below the tree:
<script type="text/javascript">
treeObj = new JSDragDropTree();
treeObj.setTreeId('manualTree');
treeObj.setMaximumDepth(6);
treeObj.setMessageMaximumDepthReached('Maximum depth reached');
treeObj.initTree();
treeObj.expandAll();
</script>
Is it possible to init the tree with only the topnodes expanded? Would help me a lot.
Thanks in advance.