diff options
author | Automerge <automerge@vaadin.com> | 2012-05-18 08:44:57 +0000 |
---|---|---|
committer | Automerge <automerge@vaadin.com> | 2012-05-18 08:44:57 +0000 |
commit | b4eb8571aba35b90df5cf70ad1f4a8ca3f67556d (patch) | |
tree | b4abb3219891bb7284d819e6575f4fde9a38332c /src | |
parent | 55f69ec8a203137d6bc1acfdb385da96a2f09b47 (diff) | |
download | vaadin-framework-b4eb8571aba35b90df5cf70ad1f4a8ca3f67556d.tar.gz vaadin-framework-b4eb8571aba35b90df5cf70ad1f4a8ca3f67556d.zip |
[merge from 6.7] #8805 fix flickering of partial first row in table, related manual test
svn changeset:23762/svn branch:6.8
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/ui/Table.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/Table.java b/src/com/vaadin/ui/Table.java index 7828fdb734..db0809fbd5 100644 --- a/src/com/vaadin/ui/Table.java +++ b/src/com/vaadin/ui/Table.java @@ -1458,6 +1458,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) { |