public function renderTableRow($row) { $this->_currentRow = $row; if ($this->groupKey !== null) { $data = $this->dataProvider->data[$row]; $group = $this->evaluateExpression($this->groupHeader, array('data' => $data, 'row' => $row, 'group' => $this->lastGroup)); if ($this->lastGroup != $group) { $this->lastGroup = $group; $this->renderGroupHeader($row); } } parent::renderTableRow($row); }
public function renderTableRow($row) { $this->_currentRow = $row; if ($this->groupKey !== null) { $data = $this->dataProvider->data[$row]; $group = CHtml::value($data, $this->groupKey); if ($this->lastGroup != $group) { $this->lastGroup = $group; $this->renderGroupHeader($row); } } parent::renderTableRow($row); }