aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-05-18 23:09:47 +0300
committerVaadin Code Review <review@vaadin.com>2015-05-19 16:19:28 +0000
commit1af2ebc79dee66d90a5927e647ef41bea5aecdc1 (patch)
treedb3a8b396ffdd5daeca72c6ea0c66104ae920d9f /server/src/com
parenta42fe556c27397c606183864909c9dd0e012d35a (diff)
downloadvaadin-framework-1af2ebc79dee66d90a5927e647ef41bea5aecdc1.tar.gz
vaadin-framework-1af2ebc79dee66d90a5927e647ef41bea5aecdc1.zip
Ensure the whole hierarchy is refreshed when opening editor row (#17459)
Change-Id: Iff691f27b70ccbad004dbc55411be977c5acff03
Diffstat (limited to 'server/src/com')
-rw-r--r--server/src/com/vaadin/ui/Grid.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java
index 5cc1a6752e..282711aa92 100644
--- a/server/src/com/vaadin/ui/Grid.java
+++ b/server/src/com/vaadin/ui/Grid.java
@@ -5688,6 +5688,13 @@ public class Grid extends AbstractComponent implements SelectionNotifier,
column.getState().editorConnector = getEditorField(column
.getPropertyId());
}
+
+ // Must ensure that all fields, recursively, are sent to the client
+ // This is needed because the fields are hidden using isRendered
+ for (Field<?> f : getEditorFields()) {
+ f.markAsDirtyRecursive();
+ }
+
}
private void setEditorField(Object propertyId, Field<?> field) {