summaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/Grid.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/Grid.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/Grid.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java
index fa6237a83a..104e90c3b9 100644
--- a/server/src/main/java/com/vaadin/ui/Grid.java
+++ b/server/src/main/java/com/vaadin/ui/Grid.java
@@ -737,6 +737,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
if (this.generator != generator) {
removeAllComponents();
}
+ getState().hasDetailsGenerator = generator != null;
this.generator = generator;
visibleDetails.forEach(this::refresh);
}