summaryrefslogtreecommitdiffstats
path: root/client/src
diff options
context:
space:
mode:
authorOliver Buchien <30312325+BuchienDP@users.noreply.github.com>2021-02-26 16:16:52 +0100
committerGitHub <noreply@github.com>2021-02-26 17:16:52 +0200
commit61895872c2cce18b70a3151146b64726174610c3 (patch)
treeb8e3e7c3e10b50a1df0a18981912f3d74d4eac08 /client/src
parentd336bfa5bf20b8187f498a9f41c04d706bbe2a28 (diff)
downloadvaadin-framework-61895872c2cce18b70a3151146b64726174610c3.tar.gz
vaadin-framework-61895872c2cce18b70a3151146b64726174610c3.zip
Fixed input to ensureAvailabilty (#12208)
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();
}