From: Artur Signell Date: Thu, 5 Apr 2012 12:58:12 +0000 (+0300) Subject: Disable TreeTable partial updates until it is fixed X-Git-Tag: 7.0.0.alpha2~110 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c670b2fff5ec7cfa6571960ea39e8ecc66fc1c2e;p=vaadin-framework.git 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 --- 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);