summaryrefslogtreecommitdiffstats
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/main/java/com/vaadin/client/ui/treegrid/TreeGridConnector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/treegrid/TreeGridConnector.java b/client/src/main/java/com/vaadin/client/ui/treegrid/TreeGridConnector.java
index 253e03a80c..54f7a112d4 100644
--- a/client/src/main/java/com/vaadin/client/ui/treegrid/TreeGridConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/treegrid/TreeGridConnector.java
@@ -208,7 +208,7 @@ public class TreeGridConnector extends GridConnector {
.getVisibleRowRange();
getDataSource().ensureAvailability(
visibleRowRange.getStart(),
- visibleRowRange.getEnd());
+ visibleRowRange.length());
}
checkExpand();
}
@@ -222,7 +222,7 @@ public class TreeGridConnector extends GridConnector {
.getVisibleRowRange();
getDataSource().ensureAvailability(
visibleRowRange.getStart(),
- visibleRowRange.getEnd());
+ visibleRowRange.length());
}
checkExpand();
}