| Issue 390: | Pre load a branch for a lazy loaded tree | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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
Status:
WontFix
May 2, 2014
Cleanup Scrumboard
Labels:
Milestone-Release2.0
|