hi
i have a kartrik gridview like this:
<?php
echo GridView::widget([
'dataProvider' => $dataProvider,
//'filterModel' => $searchModel,
//'exportConfig' => [
// GridView::CSV => ['label' => 'Save as CSV'],
// GridView::EXCEL => ['label' => 'Save as EXCEL']
// ],
'columns' =>
[
['class' => 'yii\grid\SerialColumn'],
[ 'attribute' => 'val1' ,'value' => 'val1' ],
[ 'attribute' => 'val2' ,'value' => 'val2' ],
[ 'attribute' => 'val3' ,'value' => 'val3' ],
[ 'attribute' => 'val4' ,'value' => 'val4' ],
['class' => 'yii\grid\ActionColumn'],
],
]); ?>
i want add a column with a specific botton how can i do this?
pls help!