bigdropinc/yii2-editable-column-action

editable column action for yii2 grid view widget

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

pkg:composer/bigdropinc/yii2-editable-column-action

v0.1.1 2017-10-25 14:42 UTC

This package is not auto-updated.

Last update: 2025-10-04 20:13:30 UTC


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'],
            ]
        ];
    }
}