Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1007 Bytes

README.md

File metadata and controls

47 lines (32 loc) · 1007 Bytes

ActionColumn Button Group

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