@@ -8,12 +8,11 @@ |
||
8 | 8 | namespace execut\actions\action\adapter\viewRenderer; |
9 | 9 | |
10 | 10 | |
11 | +use yii\bootstrap\Alert; |
|
12 | +use yii\data\BaseDataProvider; |
|
11 | 13 | use yii\db\ActiveRecord; |
12 | 14 | use yii\helpers\ArrayHelper; |
13 | 15 | use yii\helpers\Html; |
14 | -use kartik\export\ExportMenu; |
|
15 | -use yii\bootstrap\Alert; |
|
16 | -use yii\data\BaseDataProvider; |
|
17 | 16 | use yii\helpers\Url; |
18 | 17 | use yii\web\JsExpression; |
19 | 18 |
@@ -270,7 +270,7 @@ |
||
270 | 270 | // '{create}' => ['class' => 'col-xs-8 text-right'], |
271 | 271 | ], |
272 | 272 | 'bulkActionsItems' => [ |
273 | - 'General' => ['mass-update' => 'Mass edit',], |
|
273 | + 'General' => ['mass-update' => 'Mass edit', ], |
|
274 | 274 | ], |
275 | 275 | 'bulkActionsOptions' => [ |
276 | 276 | 'options' => [ |
@@ -26,7 +26,7 @@ |
||
26 | 26 | public function init() |
27 | 27 | { |
28 | 28 | $this->toolbar = $this->getToolbarConfig(); |
29 | - $this->rowOptions = function ($row) { |
|
29 | + $this->rowOptions = function($row) { |
|
30 | 30 | return [ |
31 | 31 | 'attributes' => Json::encode($row->attributes), |
32 | 32 | ]; |
@@ -41,7 +41,7 @@ |
||
41 | 41 | $this->gridOptions = ArrayHelper::merge([ |
42 | 42 | 'responsive' => false, |
43 | 43 | 'responsiveWrap' => false, |
44 | - 'rowOptions' => function ($row) { |
|
44 | + 'rowOptions' => function($row) { |
|
45 | 45 | if (method_exists($row, 'getRowOptions')) { |
46 | 46 | return $row->getRowOptions(); |
47 | 47 | } |