| Issue 464: | Expand root node | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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
Status:
WontFix
May 2, 2014
Cleanup Scrumboard
Labels:
Milestone-Release2.0
|