How can I save the resources after making changes in the Gantt Chart ? I click the save button but after refreshing the gantt chart the old resource information displays.
Hello Isaac,
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.
To send the changes to the server, you need to use the Data Processor or built-in Ajax module. You can read more about it in the following articles:
https://docs.dhtmlx.com/gantt/desktop__server_side.html
https://docs.dhtmlx.com/gantt/api__gantt_ajax_other.html
If you enable the dataprocessor_assignments
and/or dataprocessor_resources
properties of the gantt.config.resources
parameter, the Data Processor will send the changes to the server:
https://docs.dhtmlx.com/gantt/api__gantt_resources_config.html
You can check how it works in the following sample:
https://docs.dhtmlx.com/gantt/samples/11_resources/13_resource_assignments_for_days.html