yiisoft/yii2 — pull request #1466 by kartik-v (2013-12-09 11:52:51+00:00)
Title: Update grid ActionColumn for controlling HTML options of buttons

The grid action column does have a ```buttons``` configuration to override default buttons. But in many cases, only few basic changes are needed: e.g. update the button label or the delete confirmation message. With this change buttons can be called in the grid like:
```php
// Example 1
[
'class'=>'yii\grid\ActionColumn',
'deleteOptions' => ['data-confirm'=>\Yii::t('app', 'Are you sure to delete this ' . strtolower($title) . '?')],
]

// Example 2
```php
[
'class'=>'yii\grid\ActionColumn',
'viewOptions' => ['class' => 'red-color']
]
```