From 61895872c2cce18b70a3151146b64726174610c3 Mon Sep 17 00:00:00 2001 From: Oliver Buchien <30312325+BuchienDP@users.noreply.github.com> Date: Fri, 26 Feb 2021 16:16:52 +0100 Subject: Fixed input to ensureAvailabilty (#12208) --- .../main/java/com/vaadin/client/ui/treegrid/TreeGridConnector.java | 4 ++-- 1 file 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(); } -- cgit v1.2.3