diff options
-rwxr-xr-x | client/src/main/java/com/vaadin/client/widgets/Grid.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/main/java/com/vaadin/client/widgets/Grid.java b/client/src/main/java/com/vaadin/client/widgets/Grid.java index 996eae41be..a134465713 100755 --- a/client/src/main/java/com/vaadin/client/widgets/Grid.java +++ b/client/src/main/java/com/vaadin/client/widgets/Grid.java @@ -5287,7 +5287,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>, * otherwise */ public boolean isResizable() { - return resizable; + return grid.isEnabled() && resizable; } /** @@ -6496,6 +6496,8 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>, !enabled || editorOpen); getEscalator().setScrollLocked(Direction.HORIZONTAL, !enabled); + getHeader().requestSectionRefresh(); + fireEvent(new GridEnabledEvent(enabled)); } |