bigdropinc/yii2-editable-column-action
Composer 安装命令:
composer require bigdropinc/yii2-editable-column-action
包简介
editable column action for yii2 grid view widget
README 文档
README
Editable column action for yii2 grid view widget
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist bigdropinc/yii2-editable-column-action "*"
or add
bigdropinc/yii2-editable-column-action
to the require section of your composer.json file.
Usage
For Controller::actions() method return array with EditableColumnAction::className()
class TestController extends yii\web\Controller { public function actions() { return [ 'editColumnAction' => [ 'class' => bigdropinc\EditableColumnAction::className(), 'modelClass' => MyModel::className(), 'allowedAttributes' => ['status', 'title'], ] ]; } }
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-10-25