PHP code example of s4studio / yii2-ajaxcrud
1. Go to this page and download the library: Download s4studio/yii2-ajaxcrud library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
s4studio / yii2-ajaxcrud example snippets
'modules' => [
'gridview' => [
'class' => \kartik\grid\Module::class,
'bsVersion' => '5.x', // or '4.x'
// 'downloadAction' => 'gridview/export/download',
// 'i18n' => [],
// 'exportEncryptSalt' => 'tG85vd1',
]
]
Modal::begin([
"id"=>"ajaxCrudModal",
"title" => '<h4 class="modal-title"></h4>',
"footer"=>"",
]);
Modal::end();