mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
Raw content return for Grid DataColumn & Column
This commit is contained in:
@ -159,6 +159,6 @@ class DataColumn extends Column
|
||||
*/
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user