My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 464: Expand root node
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  May 2014


 
Reported by marco.tu...@gmail.com, Dec 3, 2013
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);
			});
		}
	});
},
May 1, 2014
Project Member #1 moo...@wwwendt.de
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
Status: WontFix
May 2, 2014
Project Member #2 moo...@wwwendt.de
Cleanup Scrumboard
Labels: Milestone-Release2.0

Powered by Google Project Hosting