                                            'class' => 'yii\grid\ActionColumn',
                                            'template' => '{status_change} {manage}',
                                            'buttons' => [
                                                'status_change' => function ($url,$model) {
                                                    return Html::a(
                                                        ($model->status==1) ? '<i class="fa fa-dot-circle-o text-success">&nbsp;</i>' : '<i class="fa fa-dot-circle-o text-red">&nbsp;</i>',
                                                        ['country/status', 'id' => $model->id, 'prevState'=>$model->status],  
                                                        [
                                                            'title' => ($model->status==1) ? 'Inactivate' : 'Activate',
                                                            'data-pjax' => '1',
                                                        ]
                                                    );
                                                },