|
|
@ -72,7 +72,10 @@ class DataColumn extends Column |
|
|
|
|
|
|
|
|
|
|
|
protected function renderHeaderCellContent() |
|
|
|
protected function renderHeaderCellContent() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if ($this->header === null) { |
|
|
|
if ($this->header !== null || $this->label === null && $this->attribute === null) { |
|
|
|
|
|
|
|
return parent::renderHeaderCellContent(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$provider = $this->grid->dataProvider; |
|
|
|
$provider = $this->grid->dataProvider; |
|
|
|
|
|
|
|
|
|
|
|
if ($this->label === null) { |
|
|
|
if ($this->label === null) { |
|
|
@ -100,9 +103,6 @@ class DataColumn extends Column |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
return Html::encode($label); |
|
|
|
return Html::encode($label); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
|
|
|
|
return parent::renderHeaderCellContent(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected function renderFilterCellContent() |
|
|
|
protected function renderFilterCellContent() |
|
|
|