how to create a loader in one of the kartrik gridview column?

how to create a loader in one of the kartrik gridview column depend on another botton in another column with ajax request?




  <?php

		

         echo GridView::widget([

	'dataProvider' => $dataProvider,

			

	'columns' =>

	[

	['class'       => 'yii\grid\SerialColumn'],

			     

	[  'attribute' => 'val1'   ,'value'  => 'val1'   ],

	[  'attribute' => 'val1'   ,'value'  => 'val1'   ],

	[  'attribute' => 'val1'   ,'value'  => 'val1'   ],

	[  'attribute' => 'val1'   ,'value'  => 'val1'   ],

			     

	['class' => 'yii\grid\ActionColumn'  ],

	['label'=>'gyg', 'format' => 'raw', 'value'=>

	function ($model, $id) {

	return Html::a('jio', ['/controller/action' , 'id' =>39,'usr'=>'11'], ['class'=>'btn btn-primary']);

				//

	//Html::button('jiji', ['value' => 'url' ,

	//			         'class' => 'btn btn-primary']);

	}

],

				

],

			

	

]); ?>