diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-03-28 10:07:00 +0300 |
---|---|---|
committer | Pekka Hyvönen <pekka@vaadin.com> | 2017-03-28 10:07:00 +0300 |
commit | 91590e9f6c91de1fcfd9534263a2e270d973d384 (patch) | |
tree | 4b973e064e37af021e3f38c14d104ad76e7b8e83 /client | |
parent | e3e96a674c13eae5516a5d8d2085917a3859e4d0 (diff) | |
download | vaadin-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.java | 6 |
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; } |