Skip to content

bigdropinc/yii2-editable-column-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

yii2-editable-column-action

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

About

editable column action for yii2 grid view widget

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages