title = 'Проекты'; $this->params['breadcrumbs'][] = $this->title; ?>
render('_search', ['model' => $searchModel]); ?>

'btn btn-success']) ?>

$dataProvider, 'filterModel' => $searchModel, 'columns' => [ ['class' => 'yii\grid\SerialColumn'], //'id', [ 'attribute' => 'name', 'filter' => kartik\select2\Select2::widget([ 'model' => $searchModel, 'attribute' => 'name', 'data' => \common\models\Project::getListName(), 'options' => ['placeholder' => 'Начните вводить...','class' => 'form-control'], 'pluginOptions' => [ 'allowClear' => true ], ]), ], 'budget', //'description:ntext', [ 'label' => 'Исполнители', 'value' => function($model){ return implode(', ', $model->getUsersNameList()); } ], [ 'attribute' => 'status', 'value' => function($model){ return $model->status0['name']; }, 'filter' => kartik\select2\Select2::widget([ 'model' => $searchModel, 'attribute' => 'status', 'data' => \common\models\Status::getStatusesArray(\common\models\UseStatus::USE_PROJECT), 'options' => ['placeholder' => 'Начните вводить...','class' => 'form-control'], 'pluginOptions' => [ 'allowClear' => true ], ]), ], //'created_at', //'updated_at', ['class' => 'yii\grid\ActionColumn'], ], ]); ?>