dickyermawan/yii2-actioncolumn-btngroup

ActionColumn with Button Group Style of Bootstrap

v1.2 2019-07-14 16:12 UTC

This package is auto-updated.

Last update: 2024-05-15 02:03:16 UTC


README

ActionColumn with Button Group Style of Bootstrap

Installation

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.

Usage

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']
],

Note: type and label are optional. try it yourself to know

Screenshots
Screenshoot Role Screenshoot Role Screenshoot Role Screenshoot Role