diff options
author | Teppo Kurki <teppo.kurki@vaadin.com> | 2015-08-27 16:55:03 +0300 |
---|---|---|
committer | Mika Murtojarvi <mika@vaadin.com> | 2015-09-08 17:21:56 +0300 |
commit | be889d18d3ab6ad25eb0637e60191f2eafc5178d (patch) | |
tree | f6bc6689f3c98c108135927d13157fd2feb61788 /server/src/com | |
parent | 1795314185117b3f5cce48959f6a36116fb810f9 (diff) | |
download | vaadin-framework-be889d18d3ab6ad25eb0637e60191f2eafc5178d.tar.gz vaadin-framework-be889d18d3ab6ad25eb0637e60191f2eafc5178d.zip |
Do not open detail row if generator is the NULL one (#18663)
Change-Id: Ib853205dae7745ca4af11fb558899e6648e25da8
Diffstat (limited to 'server/src/com')
-rw-r--r-- | server/src/com/vaadin/ui/Grid.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java index 3e4a78db9d..c57d9d523b 100644 --- a/server/src/com/vaadin/ui/Grid.java +++ b/server/src/com/vaadin/ui/Grid.java @@ -6096,6 +6096,9 @@ public class Grid extends AbstractComponent implements SelectionNotifier, * to hide them */ public void setDetailsVisible(Object itemId, boolean visible) { + if (DetailsGenerator.NULL.equals(detailsGenerator)) { + return; + } datasourceExtension.setDetailsVisible(itemId, visible); } |