From c9ed817c4c5e62db835eff16752756caff448528 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Wed, 7 Dec 2011 07:51:39 +0000 Subject: [PATCH] Update container height for partial updates (#8041) svn changeset:22249/svn branch:6.7 --- src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java index c919d82923..1bd1673263 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java @@ -4132,6 +4132,7 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler, VScrollTableRow r = (VScrollTableRow) renderedRows.get(ix); r.setIndex(r.getIndex() + rows); } + setContainerHeight(); fixSpacers(); return inserted; } @@ -4140,6 +4141,7 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler, int rows) { unlinkAllRowsStartingAt(firstIndex); insertRows(rowData, firstIndex, rows); + setContainerHeight(); } /** @@ -4258,6 +4260,7 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler, VScrollTableRow r = (VScrollTableRow) renderedRows.get(ix); r.setIndex(r.getIndex() - count); } + setContainerHeight(); fixSpacers(); } -- 2.39.5