We are trying to select a node based on item id. We are not able to do so for some reason.
Tried options
1. SelectItem
2. OpenItem + selectItem
3. focusItem
4. OpenItem + focusItem.
None of these seems to work
Is it a bug? We had received the trial version of professional edition and we find this error.
To select item you need only
tree.selectItem(id)
openItem and focusItem may be used to bring selected item to visible part of tree, but not necessary in common case.
In which moment you are calling such command? Please beware that data loading is async. process, so you may need to catch the moment when dat loaded in tree and availalbe for API calls
tree.loadXML(url,function(){
tree.selectItem(id);
});