add(Html::tag('td', $cell)); } $this->rows[] = $row; } public function renderContent() { $tbody = Html::tag('tbody'); foreach ($this->rows as $row) { $tbody->add($row); } $this->add($tbody); return parent::renderContent(); // TODO: Change the autogenerated stub } }