From 620b2ba314f0f88760803a084cc38e47b57632d3 Mon Sep 17 00:00:00 2001 From: Denis Date: Tue, 6 Dec 2016 21:38:08 +0200 Subject: 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 --- .../java/com/vaadin/shared/ui/grid/AbstractSelectionModelState.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shared/src') 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; } -- cgit v1.2.3