when dhtmlxTree is opened, how to expand the tree upto the preselected item in the tree?
To close all items in the tree:
tree.closeAllItems();
To expand the tree upto the preselected item in the tree:
tree.selectItem(tree.getSelectedItemId())
thanks for the reply. But I have
tree.enableSmartXMLParsing(true); set. so this does not seem to be working.