]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix for #5770 - Clearing a Table column footer/header does not repaint Table
authorArtur Signell <artur.signell@itmill.com>
Mon, 11 Oct 2010 12:01:44 +0000 (12:01 +0000)
committerArtur Signell <artur.signell@itmill.com>
Mon, 11 Oct 2010 12:01:44 +0000 (12:01 +0000)
svn changeset:15486/svn branch:6.4

src/com/vaadin/ui/Table.java

index db3ee518631d676fc3780c0a85385b171828e29c..3c2611b0cc836554f8b9081c913483c5ad4ef25d 100644 (file)
@@ -1031,6 +1031,7 @@ public class Table extends AbstractSelect implements Action.Container,
 
         if (header == null) {
             columnHeaders.remove(propertyId);
+            requestRepaint();
             return;
         }
         columnHeaders.put(propertyId, header);
@@ -3996,6 +3997,7 @@ public class Table extends AbstractSelect implements Action.Container,
     public void setColumnFooter(Object propertyId, String footer) {
         if (footer == null) {
             columnFooters.remove(propertyId);
+            requestRepaint();
             return;
         }
         columnFooters.put(propertyId, footer);