pkdevbox / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

Expand root node #464

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I see your answare ...

yes. you can set the exoanded property with your node data or use the API to 
expand in the onPostInit event.

but :

I don't see anythink about exoanded property,

I tried also your sample :

8.4.7 Example: Expand all nodes
$("#tree").dynatree("getRoot").visit(function(node){
    node.expand(true);
});

but give me an error ".visit" is unknow.

How can expand root node after lazy loading from server ?

PS: I expand children of root node whith :

onLazyRead: function (dtnode) {
    dtnode.appendAjax({
        url: "myurl",
        debugLazyDelay: 750,
        success: function (node) {
            node.visit(function (n) {
                n.expand(true);
            });
        }
    });
},

Original issue reported on code.google.com by marco.tu...@gmail.com on 3 Dec 2013 at 8:31

GoogleCodeExporter commented 9 years ago
As of 2014 Dynatree is feature frozen.
Please have a look at Fancytree (sequel of DynaTree 1.x): chances are good that 
the problem was resolved / the requested featuer is already implemented.
Please open a new issue there otherwise:

https://github.com/mar10/fancytree

Original comment by moo...@wwwendt.de on 1 May 2014 at 4:50

GoogleCodeExporter commented 9 years ago
Cleanup Scrumboard

Original comment by moo...@wwwendt.de on 2 May 2014 at 7:47