aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorAleksi Hietanen <aleksi@vaadin.com>2017-04-11 09:50:26 +0300
committerIlia Motornyi <elmot@vaadin.com>2017-04-11 08:50:26 +0200
commit4784e342eb7369909085db54ae2efb7a99daf7a3 (patch)
tree7e822f29c528d8a7a1c25bc82cb6a405fe283ffb /server/src
parentcf7edf7a56d71e39f59984234ea7ffa51db2c696 (diff)
downloadvaadin-framework-4784e342eb7369909085db54ae2efb7a99daf7a3.tar.gz
vaadin-framework-4784e342eb7369909085db54ae2efb7a99daf7a3.zip
Fix initial expand of TreeGrid items
Fixes #9050
Diffstat (limited to 'server/src')
-rw-r--r--server/src/main/java/com/vaadin/ui/TreeGrid.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/TreeGrid.java b/server/src/main/java/com/vaadin/ui/TreeGrid.java
index b5da3f8645..6d5b9bb191 100644
--- a/server/src/main/java/com/vaadin/ui/TreeGrid.java
+++ b/server/src/main/java/com/vaadin/ui/TreeGrid.java
@@ -391,6 +391,7 @@ public class TreeGrid<T> extends Grid<T> {
throw new IllegalArgumentException(
"TreeGrid only accepts hierarchical data providers");
}
+ getRpcProxy(TreeGridClientRpc.class).clearPendingExpands();
super.setDataProvider(dataProvider);
}