summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-03-28 10:07:00 +0300
committerPekka Hyvönen <pekka@vaadin.com>2017-03-28 10:07:00 +0300
commit91590e9f6c91de1fcfd9534263a2e270d973d384 (patch)
tree4b973e064e37af021e3f38c14d104ad76e7b8e83 /client
parente3e96a674c13eae5516a5d8d2085917a3859e4d0 (diff)
downloadvaadin-framework-91590e9f6c91de1fcfd9534263a2e270d973d384.tar.gz
vaadin-framework-91590e9f6c91de1fcfd9534263a2e270d973d384.zip
Fix data not being sent again when adding DataGenerators (#8947)
* Fix data not being sent again when adding DataGenerators * Fix header component detaching, revert early header cleanup
Diffstat (limited to 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/connectors/grid/ColumnConnector.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/main/java/com/vaadin/client/connectors/grid/ColumnConnector.java b/client/src/main/java/com/vaadin/client/connectors/grid/ColumnConnector.java
index 149ef4c1f9..bfc605ee2e 100644
--- a/client/src/main/java/com/vaadin/client/connectors/grid/ColumnConnector.java
+++ b/client/src/main/java/com/vaadin/client/connectors/grid/ColumnConnector.java
@@ -73,7 +73,12 @@ public class ColumnConnector extends AbstractExtensionConnector {
return null;
}
};
+
+ // Initially set a renderer
+ updateRenderer();
+
getParent().addColumn(column, getState().internalId);
+
}
@SuppressWarnings("unchecked")
@@ -149,6 +154,7 @@ public class ColumnConnector extends AbstractExtensionConnector {
// time to remove columns (and have problems with frozen columns)
// before throwing everything away
parent.removeColumn(column);
+ parent = null;
}
column = null;
}