aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorTatu Lund <tatu@vaadin.com>2020-08-06 14:07:53 +0300
committerGitHub <noreply@github.com>2020-08-06 14:07:53 +0300
commit7398f1565ac6e06b871d7f673185fe9faa97e6c5 (patch)
treef368060fc15fc1dd70b93f6a52925ae12dfe93d5 /client
parentb36dc81569fffc9d12fd6648366c965bbae4000e (diff)
downloadvaadin-framework-7398f1565ac6e06b871d7f673185fe9faa97e6c5.tar.gz
vaadin-framework-7398f1565ac6e06b871d7f673185fe9faa97e6c5.zip
Add enabled check to Column#isResizable (#12063)
Diffstat (limited to 'client')
-rwxr-xr-xclient/src/main/java/com/vaadin/client/widgets/Grid.java4
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));
}