diff --git a/src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGrid.java b/src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGrid.java index 4419b30..dc82684 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGrid.java +++ b/src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGrid.java @@ -696,7 +696,7 @@ public Registration addValueChangeListener( @Override public boolean isReadOnly() { - return isReadOnly(); + return getAvailableGrid().getSelectionModel() == SelectionMode.NONE; } @Override