yii2-ajaxcrud - CRUD template

Gii CRUD template for Single Page Ajax Administration for yii2


  • Create, read, update, delete in onpage with Ajax

  • Bulk delete suport

  • Pjax widget suport

  • Export function(pdf,html,text,csv,excel,json)

The link of this extension https://github.com/johnitvn/yii2-ajaxcrud

I hope this extension useful for your project.

I hope to receive your suggestions to continue to improve it


Good Job !!!

Thanks! Have you use yii2-ajaxcrud extension? Do you have any suggest for me to make it better :rolleyes: ?

Hi John,

I tried yours extension, but I cannot delete the row in GridView. Everytime, I clicked it just do nothing, even on firebug I could not see anything called. However, bulkDelete can delete rows only that the GridView is not reload. It just keep loading. When I refreshed it, the row(s) already deleted. Any help?



i am using advance template, after installing which php file i have to configure. i’ve tried make a ajax crud generator on gii, then i got an error “undefined variable:searchModel”. can anyone give me a solving. i’m a newbie in yii

Is anyone getting an error of Class ‘johnitvn\ajaxcrud\CrudAsset’ not found
if anyone just fixed it pls help me i would appreciate it. :slight_smile:

put the following code in configuration file of your advance application templet, then every thing will work perfectly.
‘modules’ => [
‘gridview’ => [
‘class’ => ‘\kartik\grid\Module’

error in bs4

Failed to instantiate component or class “yii\bootstrap\BootstrapAsset”.

please fix…