summaryrefslogtreecommitdiffstats
path: root/shared/src
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2015-02-05 21:04:36 +0200
committerHenrik Paul <henrik@vaadin.com>2015-02-06 10:33:39 +0000
commitca435cd30b6bdf1a24636e37c10a43545804991f (patch)
tree0cf4c467770b7528148f6914e4fdfdb097db0976 /shared/src
parentee1fa835047a02f2982c7b8da9abf15b06c9c919 (diff)
downloadvaadin-framework-ca435cd30b6bdf1a24636e37c10a43545804991f.tar.gz
vaadin-framework-ca435cd30b6bdf1a24636e37c10a43545804991f.zip
Add API for controlling deselection for single select model (#16567)
Change-Id: Ieb245205b3a311a4563f39bc48baadc44e218b61
Diffstat (limited to 'shared/src')
-rw-r--r--shared/src/com/vaadin/shared/ui/grid/GridState.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/GridState.java b/shared/src/com/vaadin/shared/ui/grid/GridState.java
index 9d94a2cb8e..7018df1413 100644
--- a/shared/src/com/vaadin/shared/ui/grid/GridState.java
+++ b/shared/src/com/vaadin/shared/ui/grid/GridState.java
@@ -132,6 +132,9 @@ public class GridState extends AbstractComponentState {
public SharedSelectionMode selectionMode;
+ /** Whether single select mode can be cleared through the UI */
+ public boolean singleSelectDeselectAllowed = true;
+
/** Keys of the currently sorted columns */
public String[] sortColumns = new String[0];