diff options
author | Leif Åstrand <leif@vaadin.com> | 2011-12-07 07:51:39 +0000 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2011-12-07 07:51:39 +0000 |
commit | c9ed817c4c5e62db835eff16752756caff448528 (patch) | |
tree | 7369457395ae6ec358557d2985c583ffb72dfe5e /src | |
parent | 671292a04b0a9b52299f3e289a975d7a8212b5e6 (diff) | |
download | vaadin-framework-c9ed817c4c5e62db835eff16752756caff448528.tar.gz vaadin-framework-c9ed817c4c5e62db835eff16752756caff448528.zip |
Update container height for partial updates (#8041)
svn changeset:22249/svn branch:6.7
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java | 3 |
1 files changed, 3 insertions, 0 deletions
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(); } |