Resource Controller


#1

Is there a way to provide data persistency with the db by having all resources stored in a different table and the ability to add/modify resources etc. as well as assigning them to tasks?


#2

Hello Theo,
Gantt is a client-side library, it doesn’t directly communicate with the database or the server-side. All changes occur only inside the browser.

The resource data is loaded from the array with the resources or from the serverList:
https://docs.dhtmlx.com/gantt/api__gantt_serverlist.html
Here is an example:
http://snippet.dhtmlx.com/6b4c13f3d

There is no built-in way to keep the resource synchronization between the database and the client-side. You need to implement a custom solution.
If you want us to implement it for you, I can contact you with the Sales team.