I've this problem. I'm using dijit.Tree with dojox.data.JsonRestStore as datasource. All nodes are lazy loaded. When I try to programmatically select a node using tree.set("path", [1,2]) I get an error saying "Could not expand path at undefined"
Is it possible to use tree.set("path"...) when the tree structure is being loaded dynamically ?
My code contains 2 files. source.php is the implementation of data source
tree.php is available here http://jsfiddle.net/hd2MZ/2/
source.php is available here http://jsfiddle.net/6zu3d/
Please help :)