diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-06-12 16:14:19 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-06-12 16:14:19 +0300 |
commit | adcf03c1b5f05b38cda25819b732745c1a4859fc (patch) | |
tree | b2597ef74fd70cd304c15ba1ee0c04e3a4be1ae4 /src/com/vaadin/ui | |
parent | ab53fcaf5924e4dc471147c55674d0d7882e4fc1 (diff) | |
download | vaadin-framework-adcf03c1b5f05b38cda25819b732745c1a4859fc.tar.gz vaadin-framework-adcf03c1b5f05b38cda25819b732745c1a4859fc.zip |
Refresh row cache in requestRepaintAll to avoid partial repaint (#8714)
Diffstat (limited to 'src/com/vaadin/ui')
-rw-r--r-- | src/com/vaadin/ui/Table.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/Table.java b/src/com/vaadin/ui/Table.java index e41c3d2a42..fc736bfa93 100644 --- a/src/com/vaadin/ui/Table.java +++ b/src/com/vaadin/ui/Table.java @@ -1603,6 +1603,14 @@ public class Table extends AbstractSelect implements Action.Container, super.requestRepaint(); } + @Override + public void requestRepaintAll() { + super.requestRepaintAll(); + + // Avoid sending a partial repaint (#8714) + refreshRowCache(); + } + private void removeRowsFromCacheAndFillBottom(int firstIndex, int rows) { int totalCachedRows = pageBuffer[CELL_ITEMID].length; int totalRows = size(); |