summaryrefslogtreecommitdiffstats
path: root/shared/src
diff options
context:
space:
mode:
authorDenis <denis@vaadin.com>2016-12-06 21:38:08 +0200
committerPekka Hyvönen <pekka@vaadin.com>2016-12-06 21:38:08 +0200
commit620b2ba314f0f88760803a084cc38e47b57632d3 (patch)
tree5fcb2d08009e874cecf08669a74f041b0622a741 /shared/src
parent77fd42425b59805b5c30dcafc3512eecaa78e24c (diff)
downloadvaadin-framework-620b2ba314f0f88760803a084cc38e47b57632d3.tar.gz
vaadin-framework-620b2ba314f0f88760803a084cc38e47b57632d3.zip
Add read-only support for single and multi select views for Grid. (#84)
* Add read-only support for single and multi select views for Grid. Fixes vaadin/framework8-issues#516
Diffstat (limited to 'shared/src')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/AbstractSelectionModelState.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/AbstractSelectionModelState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/AbstractSelectionModelState.java
index 9cd29341b1..4e0e05c8bd 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/grid/AbstractSelectionModelState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/grid/AbstractSelectionModelState.java
@@ -25,4 +25,9 @@ import com.vaadin.shared.communication.SharedState;
* @since 8.0
*/
public class AbstractSelectionModelState extends SharedState {
+
+ /**
+ * Whether the selection model allows selection from the client side.
+ */
+ public boolean selectionAllowed = true;
}