From 6d0680b7cd9c79876682e4e8929360e31e8b15b7 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Tue, 19 Jan 2016 23:43:07 +0200 Subject: Open editor deferred to allow column size calculations on init (#19488) Change-Id: I6c7e8ba462345bad8d6d185b0a3160ae82726f46 --- client/src/com/vaadin/client/connectors/GridConnector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client') diff --git a/client/src/com/vaadin/client/connectors/GridConnector.java b/client/src/com/vaadin/client/connectors/GridConnector.java index 7d8a2a8fbf..f53d9c9d04 100644 --- a/client/src/com/vaadin/client/connectors/GridConnector.java +++ b/client/src/com/vaadin/client/connectors/GridConnector.java @@ -274,8 +274,8 @@ public class GridConnector extends AbstractHasComponentsConnector implements @Override public void bind(final int rowIndex) { - // call this finally to avoid issues with editing on init - Scheduler.get().scheduleFinally(new ScheduledCommand() { + // call this deferred to avoid issues with editing on init + Scheduler.get().scheduleDeferred(new ScheduledCommand() { @Override public void execute() { GridConnector.this.getWidget().editRow(rowIndex); -- cgit v1.2.3