diff options
author | Aleksi Hietanen <aleksi@vaadin.com> | 2017-04-12 15:03:17 +0300 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-04-12 15:03:17 +0300 |
commit | 2c3e399cb654588c8159e0e4ec4de7cc7de81b7b (patch) | |
tree | d42b862d3e978852a2b7143f3dc94af8730e8169 /server | |
parent | c1ecea9aa4729b1c8c3d00ebefa1a2a08a352ebf (diff) | |
download | vaadin-framework-2c3e399cb654588c8159e0e4ec4de7cc7de81b7b.tar.gz vaadin-framework-2c3e399cb654588c8159e0e4ec4de7cc7de81b7b.zip |
Fix empty TreeGrid (#9067)
Diffstat (limited to 'server')
-rw-r--r-- | server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java b/server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java index fedad9dd55..7580afd241 100644 --- a/server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java +++ b/server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java @@ -140,6 +140,8 @@ public class HierarchicalDataCommunicator<T> extends DataCommunicator<T> { sendData(0, dataObjects); getActiveDataHandler().addActiveData(items.stream()); getActiveDataHandler().cleanUp(items.stream()); + } else { + getClientRpc().reset(0); } setPushRows(Range.withLength(0, 0)); |