summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-04-05 15:58:12 +0300
committerArtur Signell <artur@vaadin.com>2012-04-05 15:58:12 +0300
commitc670b2fff5ec7cfa6571960ea39e8ecc66fc1c2e (patch)
tree5a2e1e4d311a28cd70413470684a7a1ba6e48ee3
parentd089b94240b6a9945e29153624f03ac24b3b3e24 (diff)
downloadvaadin-framework-c670b2fff5ec7cfa6571960ea39e8ecc66fc1c2e.tar.gz
vaadin-framework-c670b2fff5ec7cfa6571960ea39e8ecc66fc1c2e.zip
Disable TreeTable partial updates until it is fixed
Currently TreeTable changes its child components during paint, which is too late for AbstractCommunicationManager to take into account
-rw-r--r--src/com/vaadin/ui/TreeTable.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/TreeTable.java b/src/com/vaadin/ui/TreeTable.java
index f920810edf..80e721aaea 100644
--- a/src/com/vaadin/ui/TreeTable.java
+++ b/src/com/vaadin/ui/TreeTable.java
@@ -551,7 +551,9 @@ public class TreeTable extends Table implements Hierarchical {
public void setContainerDataSource(Container newDataSource) {
cStrategy = null;
- containerSupportsPartialUpdates = (newDataSource instanceof ItemSetChangeNotifier);
+ // FIXME: This disables partial updates until TreeTable is fixed so it
+ // does not change component hierarchy during paint
+ containerSupportsPartialUpdates = (newDataSource instanceof ItemSetChangeNotifier) && false;
if (!(newDataSource instanceof Hierarchical)) {
newDataSource = new ContainerHierarchicalWrapper(newDataSource);