]> source.dussan.org Git - vaadin-framework.git/commitdiff
Disable TreeTable partial updates until it is fixed
authorArtur Signell <artur@vaadin.com>
Thu, 5 Apr 2012 12:58:12 +0000 (15:58 +0300)
committerArtur Signell <artur@vaadin.com>
Thu, 5 Apr 2012 12:58:12 +0000 (15:58 +0300)
Currently TreeTable changes its child components during paint, which is
too late for AbstractCommunicationManager to take into account

src/com/vaadin/ui/TreeTable.java

index f920810edf1ba70fa15f40252fdf261a42072b02..80e721aaea0dd440d77fad6cd5f90cd8e3a28641 100644 (file)
@@ -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);