summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-07-05 21:17:25 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-08 10:59:59 +0300
commitac8aa788c2b1ded7787fb632b93080999256d2f6 (patch)
tree6db536c9b589fc44b57fa1f196e27d36474448b5 /client
parent40ccc5b49ed81ebdcb14961e692984a6fad2ee44 (diff)
downloadvaadin-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.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();
}
/**