diff options
author | Artur Signell <artur@vaadin.com> | 2015-07-05 21:17:25 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-07-08 10:59:59 +0300 |
commit | ac8aa788c2b1ded7787fb632b93080999256d2f6 (patch) | |
tree | 6db536c9b589fc44b57fa1f196e27d36474448b5 /client | |
parent | 40ccc5b49ed81ebdcb14961e692984a6fad2ee44 (diff) | |
download | vaadin-framework-ac8aa788c2b1ded7787fb632b93080999256d2f6.tar.gz vaadin-framework-ac8aa788c2b1ded7787fb632b93080999256d2f6.zip |
Ensure correct render of selection when changing selection model (#17087)
Change-Id: I0f7e0d6027d193acaa13e9f71b3d55b6ea2087f1
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/widgets/Grid.java | 3 |
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(); } /** |