This repository was archived by the owner on Feb 5, 2025. It is now read-only.
This repository was archived by the owner on Feb 5, 2025. It is now read-only.
ExpandAll with lazyLoad not working #104
Open
Description
Hi,
I'm having an issue when I try to expand my entire tree using expandAll
when I have lazy loaded branches. I'm working around this by explicitly expanding each node but it seems the issue is happening here:
bootstrap-treeview.js line 1585:
$.each(nodes, $.proxy(function (index, node) {
this._setExpanded(node, (level > 0) ? true : false, options);
if (node.nodes) {
this._expandLevels(node.nodes, level-1, options);
}
}, this));
When lazyLoad
is set to true
on a node, the node does not show as having any nodes
property when it gets to the if statement. This skips the call to expand any such branch.
-- Nick
Metadata
Metadata
Assignees
Labels
No labels