[Dojo-interest] TreeV3 - setChildren and expandToNode
bovineaux at gmail.com
Thu Nov 23 15:05:33 MST 2006
error when doing so.
"child.setChildren is not a function" in TreeWithNode.js (line 222)
(sent to mailing list, gmail replied directly to Ilia for some reason)
On 11/23/06, Ilia Kantor <ilia at dojotoolkit.org> wrote:
> > I'm using Dojo 0.4 and have successfully set up a tree displaying the
> > structure of a website. But I'm having trouble trying to use
> > controller.expandToNode to expand to the node which represents the
> > page the user is currently viewing.
> You have to call expand for each node on path to your target node.
> For lazy loaded nodes, you can do it too, with deferreds.
> Also you can just enable eager widget instantiation by enabling corresponding
> property of TreeV3
More information about the Dojo-interest