YII 2.0使用dropDownList将数据移动到另一个表

I'm developing an Employee Page on Yii 2, but I have question.

I want to move the Prospective Employee to Employee Table when I changed the status from Pending to Approved

Here's some of my code:

[
  'class' => 'kartik\grid\EditableColumn',
  'attribute'=>'Stat',
  'width'=>'15%',
  'value'=>function($model){
      return (@$model->Stat=='0'?'Pending':'Approved');},
  'filter'=>['Pending','Diterima'],
  'label' => 'Status',
  'refreshGrid'=>true,
  'editableOptions'=> [
      'format' => Editable::FORMAT_BUTTON,

      'asPopover' => true,
      'inputType' => Editable::INPUT_DROPDOWN_LIST,
      'data'=>['0'=>'Pending', '1'=>'Approved'],
      'options' => ['class'=>'form-control'],
]

And here is the output from the generated code:

enter image description here

How can I do that?