Issue 390: Pre load a branch for a lazy loaded tree
Status:  WontFix
Owner: ----
Closed:  May 2014
Reported by gavin.sa...@cyarasolutions.com, Jan 10, 2013
What new or enhanced feature are you proposing?

I want to pre-open a branch of the tree, which I do by supplying the Children and calling loadKeyPath.  This works well, however the Children only includes the sub folders, not all the documents.

So when the user clicks on the folder, I want to call the onLazyRead to rebuild the node.

I have added an isStale property to the data property, the only change to the control would be:


// Expanding a lazy node: set 'loading...' and call callback
if (bExpand && this.data.isLazy && !this._isLoading && (this.childList === null || this.data.isStale)) {
    this._loadContent();
    return;
}




What goal would this enhancement help you achieve?

Pre-loading a lazy tree without having to call recursively through the nodes.



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