mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-20 08:27:21 +08:00
Raw content return for Grid DataColumn & Column
This commit is contained in:
@@ -140,7 +140,7 @@ class Column extends Object
|
||||
*/
|
||||
protected function renderDataCellContent($model, $key, $index)
|
||||
{
|
||||
return ($this->content !== null) ? $this->getDataCellContent : $this->grid->emptyCell;
|
||||
return ($this->content !== null) ? $this->getDataCellContent($model, $key, $index) : $this->grid->emptyCell;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user