kartik\builder\TabularForm::renderGrid PHP Method

renderGrid() protected method

Render the grid content.
protected renderGrid ( ) : string
return string the rendered gridview
    protected function renderGrid()
    {
        $rowOptions = [];
        $gridClass = $this->gridClass;
        if (isset($this->gridSettings['rowOptions'])) {
            $rowOptions = $this->gridSettings['rowOptions'];
        }
        if (is_array($rowOptions)) {
            Html::addCssClass($rowOptions, 'kv-tabform-row');
        }
        $this->options['id'] = ArrayHelper::getValue($this->gridSettings, 'id', $this->getId());
        $settings = ['id' => $this->options['id'], 'dataProvider' => $this->dataProvider, 'filterModel' => null, 'dataColumnClass' => 'kartik\\grid\\DataColumn', 'columns' => $this->_columns, 'export' => false, 'toggleData' => false, 'rowOptions' => $rowOptions];
        $settings = ArrayHelper::merge(['striped' => false, 'bordered' => false, 'hover' => true], $this->gridSettings, $settings);
        /** @var GridView $gridClass */
        return $gridClass::widget($settings);
    }