Can't fetch data from database laravel


#1

I followed the laravel gantt video and i’m running into some problems with loading the data from the database in the gantt chart. I managed to get it in with a foreach loop but it doesn’t seem to work with the gantt.load() function.
image


#2

Hello,
It seems that you need to check your URL that you use to load tasks. There is an article to check that you correctly specified the gantt.load function:
https://docs.dhtmlx.com/gantt/api__gantt_load.html
If it doesn’t help, you can send a simplified demo with all necessary files, so that I can reproduce the issue locally.