protected function loadModel(int $gridId): void
    {
        $model = GridModel::findByPk($gridId);
        if (!$model) {
            throw new RuntimeException(sprintf('Grid ID "%s" not found', $gridId));
        }

        $this->model = $model;
    }