We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tree.visitRows()
1 parent e9b1de9 commit ad58797Copy full SHA for ad58797
CHANGELOG.md
@@ -3,6 +3,7 @@
3
* [Added] `tree.debugTime()`, `tree.debugTimeEnd()` for debugging.
4
* [Fixed] #973 when use ext-grid in one tree, other tree not use ext-grid has error on click.
5
* [Fixed] #974 ext-grid: too much output in production mode.
6
+ * [Fixed] #975 ext-grid: fix `tree.visitRows()` for empty tree.
7
8
# 2.33.0 / 2019-10-29
9
* [Added] event `preInit` (fired before nodes are loaded).
src/jquery.fancytree.js
@@ -3868,7 +3868,7 @@
3868
* @since 2.28
3869
*/
3870
visitRows: function(fn, opts) {
3871
- if (!this.rootNode.children) {
+ if (!this.rootNode.hasChildren()) {
3872
return false;
3873
}
3874
if (opts && opts.reverse) {
0 commit comments