microinginer/yii2-dropdown-action-column
最新稳定版本:1.0.3
Composer 安装命令:
composer require microinginer/yii2-dropdown-action-column
包简介
README 文档
README
##Default buttons
echo \yii\grid\GridView::widget([ ... 'columns' => [ ... [ 'class' => \microinginer\dropDownActionColumn\DropDownActionColumn::className(), ], ], ]);
##Custom buttons
echo \yii\grid\GridView::widget([ ... 'columns' => [ ... [ 'class' => \microinginer\dropDownActionColumn\DropDownActionColumn::className(), 'items' => [ [ 'label' => 'View', 'url' => ['view'], ], [ 'label' => 'Export', 'url' => ['expert'], ], [ 'label' => 'Disable', 'url' => ['disable'], 'linkOptions' => [ 'data-method' => 'post' ], ], ] ], ], ]);
##Install
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist microinginer/yii2-dropdown-action-column "dev-master"
or add
"microinginer/yii2-dropdown-action-column": "dev-master"
to the require section of your composer.json file.
统计信息
- 总下载量: 9.98k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-05

