mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-20 16:38:22 +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)
|
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