From 40cb64fbab832279ab13bd853bf1096da92abc39 Mon Sep 17 00:00:00 2001 From: Denis Date: Fri, 13 Jan 2017 12:37:54 +0200 Subject: Add "deselect allowed" feature to the Grid. (#8227) * Add "deselect allowed" feature to the Grid. Fixes #8149 --- .../main/java/com/vaadin/shared/ui/grid/SingleSelectionModelState.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shared/src') 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; } -- cgit v1.2.3