Dhtmlxtree getindexbyid issue

Hi,

I tried to find a item in a tree by using getIndexById and I always getting 0 as result. I am using setXMLAutoLoading in my tree and the tree is opened.


Hello,


Only loaded items are available.


But in any case getIndexById returns the the item position in the parent branch. For example:


- item 1


- - item 1 1


- - - item 1 1 1


getIndexById for item 111 will return 0 (it is the 1st child of item 11).