diff options
-rw-r--r-- | client/src/com/vaadin/client/ui/table/TableConnector.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/table/TableConnector.java b/client/src/com/vaadin/client/ui/table/TableConnector.java index 80a84f0a19..e8b14955ed 100644 --- a/client/src/com/vaadin/client/ui/table/TableConnector.java +++ b/client/src/com/vaadin/client/ui/table/TableConnector.java @@ -303,7 +303,9 @@ public class TableConnector extends AbstractHasComponentsConnector implements getWidget().tabIndex = getState().tabIndex; getWidget().setProperTabIndex(); - getWidget().resizeSortedColumnForSortIndicator(); + if (getWidget().initializedAndAttached) { + getWidget().resizeSortedColumnForSortIndicator(); + } // Remember this to detect situations where overflow hack might be // needed during scrolling |