File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 50
50
'charset ' => 'utf8mb4 ' ,
51
51
'collation ' => 'utf8mb4_unicode_ci ' ,
52
52
'prefix ' => '' ,
53
- 'strict ' => true ,
53
+ 'strict ' => false ,
54
54
'engine ' => null ,
55
55
],
56
56
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ Implementing backend for dhtmlxGantt using Laravel framework.
14
14
15
15
1 . run ` composer install `
16
16
2 . Create database and update connection settings in ** .env**
17
- 3 . Create and populate tables ` php artisan migrate --seed `
17
+ 3 . Create artisan key ` php artisan key:generate `
18
+ 4 . Create and populate tables ` php artisan migrate --seed `
18
19
19
20
### Run
20
21
Original file line number Diff line number Diff line change 17
17
<body >
18
18
<div id =" gantt_here" style =' width :100% ; height :100% ;' ></div >
19
19
<script type =" text/javascript" >
20
- gantt .config .xml_date = " %Y-%m-%d %H:%i:%s" ;
20
+ gantt .config .date_format = " %Y-%m-%d %H:%i:%s" ;
21
21
gantt .config .order_branch = true ;/* !*/
22
22
gantt .config .order_branch_free = true ;/* !*/
23
23
gantt .init (" gantt_here" );
24
24
25
25
gantt .load (" /api/data" );
26
26
27
- var dp = new gantt.dataProcessor (" /api" );/* !*/
28
- dp .init (gantt);/* !*/
29
- dp .setTransactionMode (" REST" );/* !*/
27
+ const dp = gantt .createDataProcessor ({
28
+ url: " /api" ,
29
+ mode: " REST"
30
+ });
30
31
</script >
31
32
</body >
You can’t perform that action at this time.
0 commit comments