yii2-ajaxcrub ¶
Gii CRUD template for Single Page Ajax Administration for yii2
![yii2 ajaxcrud extension screenshot] (https://c1.staticflickr.com/1/330/18659931433_6f5b6f9071.jpg "yii2 ajaxcrud extension screenshot")
Features ¶
- Create, read, update, delete in onpage with Ajax
- Bulk delete suport
- Pjax widget suport
- Export function(pdf,html,text,csv,excel,json)
Installation ¶
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist johnitvn/yii2-ajaxcrud "*"
or add
"johnitvn/yii2-ajaxcrud": "*"
to the require section of your composer.json
file.
Usage ¶
For first you must enable Gii module Read more about Gii code generation tool
Because this extension used kartik-v/yii2-grid extensions so we must config gridview module before
Let 's add into modules config in your main config file
`
`php
'modules' => [
'gridview' => [
'class' => '\kartik\grid\Module'
]
]
`
`
You can then access Gii through the following URL:
http://localhost/path/to/index.php?r=gii
and you can see Ajax CRUD Generator
Contributing to this project ¶
Anyone and everyone is welcome to contribute.
License ¶
yii2-ajaxcrub is released under the Apache-2.0.
For search: yii2 ajax crud, yii ajax crud
Hello,
I'm just new in Yii, and I was explored some modules to my proyect, and I found this, but I have a problem whit.
When I generate the code all seem be fine, but when I tried to access to my "employees" view I recieve this issue: "Undefined variable: searchModel", I tried to solved it but I do not how.
Thanks in advace for your help.
This module is a big part of yii2-rbac-plus ... I have forked and am supporting a version of the code. I have also improved this module as well.
dmk-design/yii2-ajaxcrud
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.