summaryrefslogtreecommitdiffstats
path: root/shared/src
diff options
context:
space:
mode:
authorDenis <denis@vaadin.com>2017-01-13 12:37:54 +0200
committerPekka Hyvönen <pekka@vaadin.com>2017-01-13 12:37:54 +0200
commit40cb64fbab832279ab13bd853bf1096da92abc39 (patch)
treecf1660013f272fc3252cb4593277f827386a3955 /shared/src
parent8fca887996e063470379dcf3b47d6bcff3c9839c (diff)
downloadvaadin-framework-40cb64fbab832279ab13bd853bf1096da92abc39.tar.gz
vaadin-framework-40cb64fbab832279ab13bd853bf1096da92abc39.zip
Add "deselect allowed" feature to the Grid. (#8227)
* Add "deselect allowed" feature to the Grid. Fixes #8149
Diffstat (limited to 'shared/src')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/SingleSelectionModelState.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/SingleSelectionModelState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/SingleSelectionModelState.java
index 2ad1a30a3d..6fd1b09cd7 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/grid/SingleSelectionModelState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/grid/SingleSelectionModelState.java
@@ -23,4 +23,7 @@ package com.vaadin.shared.ui.grid;
* @since 8.0
*/
public class SingleSelectionModelState extends AbstractSelectionModelState {
+
+ /* Allow deselecting rows */
+ public boolean deselectAllowed = true;
}