protected function getGridIterator(): ?GridIterator
    {
        $parent = $this->getParent();

        if (!$parent || !$this->gridProvider || !$parent->bs_grid) {
            return null;
        }

        try {
            $gridIterator = $this->gridProvider->getIterator('ce:' . $parent->id, (int) $parent->bs_grid);

            return $gridIterator;
        } catch (\RuntimeException $e) {
            return null;
        }
    }