diff options
author | Denis <denis@vaadin.com> | 2017-01-13 12:37:54 +0200 |
---|---|---|
committer | Pekka Hyvönen <pekka@vaadin.com> | 2017-01-13 12:37:54 +0200 |
commit | 40cb64fbab832279ab13bd853bf1096da92abc39 (patch) | |
tree | cf1660013f272fc3252cb4593277f827386a3955 /shared/src | |
parent | 8fca887996e063470379dcf3b47d6bcff3c9839c (diff) | |
download | vaadin-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.java | 3 |
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; } |