summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-07-05 21:17:25 +0300
committerVaadin Code Review <review@vaadin.com>2015-07-07 17:09:11 +0000
commitd2c3e30f20e7566c34f0ee775d68b809583328b4 (patch)
treeb08eb3df9cb38e0972fe818ce2c3f562921fcabf /client
parent61fe18d7771b378bc5c5211276489127c35c96ee (diff)
downloadvaadin-framework-d2c3e30f20e7566c34f0ee775d68b809583328b4.tar.gz
vaadin-framework-d2c3e30f20e7566c34f0ee775d68b809583328b4.zip
Ensure correct render of selection when changing selection model (#17087)
Change-Id: I79547b32a7b7bec0ea2b327ceb0b69c756e2e812
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/widgets/Grid.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java
index e47418a740..28527d7a86 100644
--- a/client/src/com/vaadin/client/widgets/Grid.java
+++ b/client/src/com/vaadin/client/widgets/Grid.java
@@ -6809,6 +6809,9 @@ public class Grid<T> extends ResizeComposite implements
selectionModel.setGrid(this);
setSelectColumnRenderer(this.selectionModel
.getSelectionColumnRenderer());
+
+ // Refresh rendered rows to update selection, if it has changed
+ refreshBody();
}
/**