From: Leif Åstrand Date: Wed, 7 Dec 2011 07:51:39 +0000 (+0000) Subject: Update container height for partial updates (#8041) X-Git-Tag: 7.0.0.alpha1~225^2~1^2~17 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c9ed817c4c5e62db835eff16752756caff448528;p=vaadin-framework.git Update container height for partial updates (#8041) svn changeset:22249/svn branch:6.7 --- 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(); }