webvimark/grid-bulk-actions Bulk actions extension for yii 2 gridview

Bulk actions extension for yii 2 gridview

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist webvimark/grid-bulk-actions "*"

or add

"webvimark/grid-bulk-actions": "*"

to the require section of your composer.json file.

Configuration

If input in GridView


use webvimark\extensions\GridBulkActions\GridBulkActions;

<?php GridBulkActions::widget([
    'gridId'=>'user-grid',
    'actions'=>[
        Url::to(['bulk-activate', 'attribute'=>'status'])=>GridBulkActions::t('app', 'Activate'),
        Url::to(['bulk-deactivate', 'attribute'=>'status'])=>GridBulkActions::t('app', 'Deactivate'),
        '----'=>[
            Url::to(['bulk-delete'])=>GridBulkActions::t('app', 'Delete'),
        ],
    ],
])

?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.0.2 is the latest of 3 releases



Unknown license
Stats
3 github stars & 5 github forks
91 downloads in the last day
2190 downloads in the last 30 days
146196 total downloads