- When I enabled process_resource_assignments and tried to set grouping to false, I got this error!
- When I disabled process_resource_assignments, the error is gone, but the resource timeline shows like this!
Hello Ayman,
There was a similar bug that was fixed in the 8.0.4 version:
https://docs.dhtmlx.com/gantt/whatsnew.html#:~:text=Resolve%20an%20error%20that%20occurred%20after%20dragging%20a%20task%20when%20the%20process_resource_assignments%20config%20is%20disabled
By default, the process_resource_assignments
config is enabled:
https://docs.dhtmlx.com/gantt/api__gantt_process_resource_assignments_config.html
So, when I ungroup tasks in the following samples, I don’t get an error:
https://docs.dhtmlx.com/gantt/samples/11_resources/11_resource_histogram_display_tasks.html
https://docs.dhtmlx.com/gantt/samples/11_resources/10_resource_histogram_workload_percents.html
https://docs.dhtmlx.com/gantt/samples/11_resources/09_resource_histogram.html
https://docs.dhtmlx.com/gantt/samples/11_resources/08_resource_usage_groups.html
Probably, the issue is related to the Gantt configuration, but it is hard to suggest what might be wrong as I don’t see your code.
Please add your configuration to the following snippet and make sure that the issue is reproduced there:
Then, click on the Save
button and send me the link.
Or send me a ready demo with all the necessary JavaScript and CSS files so that I can reproduce the issue locally.