aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main/java')
-rw-r--r--server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java b/server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java
index 840fa7b115..dcf27fb357 100644
--- a/server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java
+++ b/server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java
@@ -388,6 +388,13 @@ public abstract class StaticSection<ROW extends StaticSection.StaticRow<?>>
for (CELL cell : cells.values()) {
cell.detach();
}
+ for (CellState cellState : rowState.cellGroups.keySet()) {
+ if (cellState.type == GridStaticCellType.WIDGET
+ && cellState.connector != null) {
+ ((Component) cellState.connector).setParent(null);
+ cellState.connector = null;
+ }
+ }
}
void checkIfAlreadyMerged(String columnId) {