Download the PHP package mmonem/yii2-gridview2 without Composer
On this page you can find all versions of the php package mmonem/yii2-gridview2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-gridview2
yii2-gridview2
yii2-gridview2 is a wrapper for the original Yii2 GridView with local model Create and Update features
Installation
The preferred way to install this extension is through composer.
To install, either run
or add
to the section of your composer.json
file.
Usage
- In your view add the original Yii GridView as usual
- Change the
use
directive fromyii\grid\GridView
tommonem\yii2gridview2\GridView;
-
Add
editColumns
andcreateUrl
parameters to the configuration array of the GridView as the following: - In one of your controllers add the the action to be used for adding models
using AJAX. In the following example I make an action called
createajax
for this. You need also to specify the ActiveRecord model class name. Don't forget to fix permissions for that new action.
Change Log
- v0.0.2 on 2017-12-11
- Initial pre-alpha version
License
yii2-gridview2 is released under the BSD 3-Clause License. Refer to LICENSE.md
for details.
All versions of yii2-gridview2 with dependencies
PHP Build Version
Package Version
The package mmonem/yii2-gridview2 contains the following files
Loading the files please wait ....