Categories | Question details Back To List | ||
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. Answer posted by Alex (support) on Mar 26, 2009 08:01 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).
|