PHPackages                             vsk/yii2-editablecolumn - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. vsk/yii2-editablecolumn

ActiveLibrary[Framework](/categories/framework)

vsk/yii2-editablecolumn
=======================

Editable Column widget and module for Yii2

1.0.0(7y ago)11.8kBSD-3-ClausePHPPHP &gt;=7.0

Since Sep 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/vetal06/yii2-editableColumn)[ Packagist](https://packagist.org/packages/vsk/yii2-editablecolumn)[ RSS](/packages/vsk-yii2-editablecolumn/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (2)Used By (0)

editablecolumn for Yii2
=======================

[](#editablecolumn-for-yii2)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require vsk/yii2-editablecolumn

```

or add

```
"vsk/yii2-editablecolumn" : "~1.0.0"
```

to the require section of your application's `composer.json` file.

Usage
-----

[](#usage)

[![Single column example](./resources/images/editableColumn.gif?raw=true)](./resources/images/editableColumn.gif?raw=true)Include in config module

```
'modules' => [
    ...
     'editablecolumn' => [
            'class' => \vsk\editableColumn\module\EditableColumnModule::class,
        ]
    ...
]

```

Add scenario in you model

```
    public function rules()
    {
        return [
            ...
            [['email'], 'email', 'on' => [self::SCENARIO_DEFAULT, EditableColumn::MODEL_SCENARIO_EDITABLE_COLUMN]],
            ...
         ];
    }

```

Include in you view

```
