ActionColumn with Button Group Style of Bootstrap
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist dickyermawan/yii2-actioncolumn-btngroup "*"
or add
"dickyermawan/yii2-actioncolumn-btngroup": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
// some code in GridView columns
[
'class' => 'dickyermawan\ActionColumn\BtnGroup',
'type' => 'vertical',
'label' => ['Lihat', 'Ubah', 'Hapus']
],
Screenshots
Comments