]> source.dussan.org Git - vaadin-framework.git/commitdiff
Update container height for partial updates (#8041)
authorLeif Åstrand <leif@vaadin.com>
Wed, 7 Dec 2011 07:51:39 +0000 (07:51 +0000)
committerLeif Åstrand <leif@vaadin.com>
Wed, 7 Dec 2011 07:51:39 +0000 (07:51 +0000)
svn changeset:22249/svn branch:6.7

src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java

index c919d82923edf55b02fade068b82fb63b1fbf7d1..1bd167326391b826a5e267b462a233286e1c29c5 100644 (file)
@@ -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();
         }