ActiveForm, Gridview, pjax posted array (POST) is blank

A gridview with a checkbox column needs update by highlighting the column checkboxes then selecting the action via a form dropdown. After submitting the form the Post array is Blank on the controller end.

Please help, a whole weekend down the drain

<php>

views

index.php

<?php

$this -> registerJs (

'$(“document”).ready(function(){

$("#setstatus").on("pjax:start", function() {

$.pjax.reload({container:"#group"}); //

Reload GridView

    });


});'

) ;

?>

<div class="group-index">

&lt;h1&gt;&lt;?= Html::encode(&#036;this-&gt;title) ?&gt;&lt;/h1&gt;


&lt;?php // echo &#036;this-&gt;render('_search', ['model' =&gt; &#036;searchModel]); ?&gt;


&lt;p&gt;


	&lt;?= Html::a('Create Group', ['create'], ['class' =&gt; 'btn btn-success']) ?&gt;


&lt;/p&gt;

<?php Pjax :: begin ([ ‘id’ => ‘setstatus’ , ‘timeout’=> false , ‘enablePushState’ => false ,‘clientOptions’ => [‘method’ => ‘POST’ ]]) ?>

<?php //Html:: beginForm([ ‘group/bulk’ ] , ‘post’ , [‘data-pjax’ => ‘’, ‘class’=> ‘form-inline’ ]) ; ?>

<?= Html::dropDownList(‘action’,’’,[‘1’=>‘Activate’,‘0’=>‘Deactivate’],[‘class’=>‘dropdown’,])?>

<?php //Html::a(‘Update’ , [‘group/bulk’], [ ‘class’ =>‘btn btn-info’,]);?>

<?= Html:: a( Yii:: t ( ‘app’ , ‘Create {modelClass}’ , [‘modelClass’ => ‘Group’ ,]) , [‘bulk’ ], [ ‘class’ => ‘btn btn-success’ ]) ?>

<?php $form = ActiveForm:: begin ([ ‘options’ =>[‘data-pjax’ => true ], ‘id’=> ‘statusid’]) ; ?>

<?=GridView::widget([

    'dataProvider' =&gt; &#036;dataProvider,


    'filterModel' =&gt; &#036;searchModel,


    'columns' =&gt; [


        ['class' =&gt; 'yii&#092;grid&#092;SerialColumn'],


        'name',


		[


			'class' =&gt; 'yii&#092;grid&#092;CheckboxColumn',


			'header' =&gt; 'Status',


			'checkboxOptions' =&gt; function (&#036;model, &#036;key, &#036;index, &#036;column){


			return [ &quot;value&quot; =&gt; &#036;model-&gt;groupid,&quot;checked&quot; =&gt; &#036;model-&gt;status];	


			}


		],


        ['class' =&gt; 'yii&#092;grid&#092;ActionColumn'],


    ],


]); ?&gt;

<?php ActiveForm:: end () ; ?>

<?php Pjax::end(); ?>

<?php

//group controller!!! . Note the post array is empty–>

public function actionBulk(){


	&#036;action= Yii::&#036;app-&gt;request-&gt;post('action');


	&#036;selection = (array) Yii ::&#036;app-&gt;request-&gt;post('selection');


	&#036;ids_sql = implode(&quot;,&quot;, array_map(&quot;intval&quot;, &#036;selection));


	print_r(Yii ::&#036;app-&gt;request-&gt;post());	//empty


	print_r(&#036;ids_sql);//empty


	print_r(&#036;action);//empty


	//&#036;count = Yii::&#036;app-&gt;db-&gt;createCommand(&quot;UPDATE group SET status=&#036;action WHERE groupid IN (&#036;ids_sql)&quot;)-&gt;execute();


	return &#036;this-&gt;redirect(['index']);


}

<php>