summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2011-11-03 15:22:56 +0000
committerArtur Signell <artur.signell@itmill.com>2011-11-03 15:22:56 +0000
commit772b0005b852013f8d4db46f261e25a13b6c3392 (patch)
tree882497661ef31c72ab0e322d5668f33a1f5f16c3
parent75ad8a685076402a7b0df09f1b0142173a47319a (diff)
downloadvaadin-framework-772b0005b852013f8d4db46f261e25a13b6c3392.tar.gz
vaadin-framework-772b0005b852013f8d4db46f261e25a13b6c3392.zip
#7790 Reverted sort methods to call refreshRenderedCells instead of refreshRowCache
svn changeset:21887/svn branch:6.7
-rw-r--r--src/com/vaadin/ui/Table.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/com/vaadin/ui/Table.java b/src/com/vaadin/ui/Table.java
index d4ccedfd61..ad1730b020 100644
--- a/src/com/vaadin/ui/Table.java
+++ b/src/com/vaadin/ui/Table.java
@@ -4012,8 +4012,9 @@ public class Table extends AbstractSelect implements Action.Container,
if (doSort) {
sort();
- // Assures the visual refresh
- refreshRowCache();
+ // Assures the visual refresh. This should not be necessary as
+ // sort() calls refreshRowCache
+ refreshRenderedCells();
}
}
}
@@ -4050,10 +4051,11 @@ public class Table extends AbstractSelect implements Action.Container,
sortAscending = ascending;
if (doSort) {
sort();
+ // Assures the visual refresh. This should not be necessary as
+ // sort() calls refreshRowCache
+ refreshRenderedCells();
}
}
- // Assures the visual refresh
- refreshRowCache();
}
/**