aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/Table.java
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2012-06-11 14:18:27 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2012-06-11 14:18:27 +0300
commit7753988bf59ee37898f149f3f23060af9cf59be4 (patch)
treee067d1904a3764fb70a590f264667fc0f248361c /src/com/vaadin/ui/Table.java
parent1a5bf24356cbdc347fabcfe6ba92cfbf69df3c02 (diff)
parent99786aecc49f538dbae3a856009baefc05666a34 (diff)
downloadvaadin-framework-7753988bf59ee37898f149f3f23060af9cf59be4.tar.gz
vaadin-framework-7753988bf59ee37898f149f3f23060af9cf59be4.zip
Merge commit '99786'
Conflicts: src/com/vaadin/ui/TabSheet.java
Diffstat (limited to 'src/com/vaadin/ui/Table.java')
-rw-r--r--src/com/vaadin/ui/Table.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/Table.java b/src/com/vaadin/ui/Table.java
index e41c3d2a42..01b4e742e4 100644
--- a/src/com/vaadin/ui/Table.java
+++ b/src/com/vaadin/ui/Table.java
@@ -1569,6 +1569,13 @@ public class Table extends AbstractSelect implements Action.Container,
}
} else {
// initial load
+
+ // #8805 send one extra row in the beginning in case a partial
+ // row is shown on the UI
+ if (firstIndex > 0) {
+ firstIndex = firstIndex - 1;
+ rows = rows + 1;
+ }
firstToBeRenderedInClient = firstIndex;
}
if (totalRows > 0) {