/** * Renders the data models for the grid view. */ public function renderItems() { /* $content = array_filter([ $this->renderCaption(), $this->renderColumnGroup(), $this->showHeader ? $this->renderTableHeader() : false, $this->showFooter ? $this->renderTableFooter() : false, $this->renderTableBody(), ]); $table = Html::tag('table', implode("\n", $content), $this->tableOptions); if ($this->responsive) { $table = Html::tag('div', $table, ['class' => 'table-responsive']); } else { $table = Html::tag('div', $table, ['class' => 'table-scrollable']); } return $table; * */ return parent::renderItems(); }