diff options
author | Henrik Paul <henrik@vaadin.com> | 2015-03-13 11:32:30 +0200 |
---|---|---|
committer | Henrik Paul <henrik@vaadin.com> | 2015-03-18 09:27:41 +0200 |
commit | 251ed2cbb633778d467e0a646ad6f87e3e8ca4bb (patch) | |
tree | ea3c269a17f98a335d7c3325abb88ca51556c8bb /server/src/com | |
parent | a1619ee73dc18eecda22056541826a3c8bb65a5c (diff) | |
download | vaadin-framework-251ed2cbb633778d467e0a646ad6f87e3e8ca4bb.tar.gz vaadin-framework-251ed2cbb633778d467e0a646ad6f87e3e8ca4bb.zip |
Fixes a bug in Details being open on freshly retrieved Grid rows (#16644)
Change-Id: Id337dd84ba0b0f09d55b3cdb0d8bfde67313ed21
Diffstat (limited to 'server/src/com')
-rw-r--r-- | server/src/com/vaadin/data/RpcDataProviderExtension.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/com/vaadin/data/RpcDataProviderExtension.java b/server/src/com/vaadin/data/RpcDataProviderExtension.java index 62b8214cbd..620933c379 100644 --- a/server/src/com/vaadin/data/RpcDataProviderExtension.java +++ b/server/src/com/vaadin/data/RpcDataProviderExtension.java @@ -156,7 +156,10 @@ public class RpcDataProviderExtension extends AbstractExtension { } indexToItemId.forcePut(index, itemId); - detailComponentManager.createDetails(itemId, index); + + if (visibleDetails.contains(itemId)) { + detailComponentManager.createDetails(itemId, index); + } } index++; } |