dixonstarter/yii2-title-action Action column for gridview

extensionactioncolumn

Yii2 Title Action

Action column for gridview

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist dixonstarter/yii2-title-action "*"

or add

"dixonstarter/yii2-title-action": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= GridView::widget([
    'dataProvider' => $dataProvider,
    'filterModel' => $searchModel,
    'tableOptions'=>['class'=>'table table-hover'],
    'columns' => [
        [
          'attribute'=>'title',
          'linkStyle'=>'buttongroup', // default, buttongroup
          'labelStyle'=>'iconText' // icon,text,iconText
          'class'=>'\dixonstarter\grid\TitleActionColumn',
        ],
    ],
]); ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.0.5 is the latest of 6 releases



Apache-2.0 license
Stats
2 github stars & 1 github forks
0 downloads in the last day
0 downloads in the last 30 days
106 total downloads