Closed #9635: Added default CSS class for \yii\grid\ActionColumn header

This commit is contained in:
Alexey Rogachev
2015-09-10 18:01:30 +06:00
parent 3587da881a
commit ad69fb9c7e
2 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,7 @@ Yii Framework 2 Change Log
- Bug #9596: Fixed `\yii\web\UrlManager::createAbsoluteUrl(['site/index', '#' => 'testHash'])` losing hash (alchimik, samdark)
- Chg #9369: `Yii::$app->user->can()` now returns `false` instead of erroring in case `authManager` component is not configured (creocoder)
- Chg #9411: `DetailView` now automatically sets container tag ID in case it's not specified (samdark)
- Enh #9635: Added default CSS class for `\yii\grid\ActionColumn` header (arogachev, dynasource)
2.0.6 August 05, 2015

View File

@ -32,6 +32,10 @@ use yii\helpers\Url;
*/
class ActionColumn extends Column
{
/**
* @inheritdoc
*/
public $headerOptions = ['class' => 'action-column'];
/**
* @var string the ID of the controller that should handle the actions specified here.
* If not set, it will use the currently active controller. This property is mainly used by