When i try to use the below method for check box selection
tree1.setCheck(id,true);
then i got below JS error
The data necessary to complere this operation is not yet available.
Please let me know how to resolved it…or another way to select a chech box after tree load.
Thanks
Please be sure that command was called after data loaded in tree and that you have unique IDs for each item.
( The tree loading is async, so you need to use onXLE event or second parameter of loadXML function to catch loading moment )