Raw content return for Grid DataColumn & Column

This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
Kartik Visweswaran
2014-02-02 21:57:41 +00:00
gitea-unlock(16/)
parent eb655e6104
commit 5f5570e73f

2
framework/grid/DataColumn.php
View File

@@ -159,6 +159,6 @@ class DataColumn extends Column
*/ */
protected function renderDataCellContent($model, $key, $index) protected function renderDataCellContent($model, $key, $index)
{ {
return $this->grid->formatter->format($this->getDataCellContent, $this->format); return $this->grid->formatter->format($this->getDataCellContent($model, $key, $index), $this->format);
} }
} }