diff --git a/Classes/Provider/AbstractProvider.php b/Classes/Provider/AbstractProvider.php index 8d42aa421..691524a4c 100644 --- a/Classes/Provider/AbstractProvider.php +++ b/Classes/Provider/AbstractProvider.php @@ -342,11 +342,15 @@ public function getGrid(array $row) $gridColumn->setColSpan($object['colspan'] ?? 1); } } + $grid->setParent($form); return $grid; } } $grid = $this->grid ?? $this->extractConfiguration($row, 'grids')['grid'] ?? Grid::create(); $grid->setExtensionName($grid->getExtensionName() ?: $this->getControllerExtensionKeyFromRecord($row)); + if ($form) { + $grid->setParent($form); + } return $grid; }