From 1af2ebc79dee66d90a5927e647ef41bea5aecdc1 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 18 May 2015 23:09:47 +0300 Subject: Ensure the whole hierarchy is refreshed when opening editor row (#17459) Change-Id: Iff691f27b70ccbad004dbc55411be977c5acff03 --- server/src/com/vaadin/ui/Grid.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'server') 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) { -- cgit v1.2.3