diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-01-19 23:43:07 +0200 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-02-05 15:09:31 +0000 |
commit | 6d0680b7cd9c79876682e4e8929360e31e8b15b7 (patch) | |
tree | 6791d71fee7cc43bcfad02451740ec6d3cfcad6e /client | |
parent | 9a7798e6393152027f7ac88ca449959a6bd71ce0 (diff) | |
download | vaadin-framework-6d0680b7cd9c79876682e4e8929360e31e8b15b7.tar.gz vaadin-framework-6d0680b7cd9c79876682e4e8929360e31e8b15b7.zip |
Open editor deferred to allow column size calculations on init (#19488)
Change-Id: I6c7e8ba462345bad8d6d185b0a3160ae82726f46
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/connectors/GridConnector.java | 4 |
1 files changed, 2 insertions, 2 deletions
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); |