From 2c5305b1eb0bcde09edc92f622f86978bdbdc0a9 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Fri, 19 Jun 2015 13:32:08 +0300 Subject: Update connector hierarch when canceling editor (#16976). Change-Id: I6e398952f84620955f9f1d61ef5ee90f81e28007 --- server/src/com/vaadin/ui/Grid.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/src/com/vaadin') diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java index e5eebff879..e9469c5bca 100644 --- a/server/src/com/vaadin/ui/Grid.java +++ b/server/src/com/vaadin/ui/Grid.java @@ -5821,6 +5821,10 @@ public class Grid extends AbstractComponent implements SelectionNotifier, editorActive = false; editorFieldGroup.discard(); editorFieldGroup.setItemDataSource(null); + + // Mark Grid as dirty so the client side gets to know that the editors + // are no longer attached + markAsDirty(); } void resetEditor() { -- cgit v1.2.3