In my application,I use the gantt Component,I need to reuse this component.I tried many ways and failed.Here is my code:
Hello Jesse,
If you want to create several Gantt instances, you need to use the Gantt.getGanttInstance()
method:
https://docs.dhtmlx.com/gantt/desktop__multiple_gantts.html
That feature is available only in the Enterprise and Ultimate versions.
Here is a React demo:
https://files.dhtmlx.com/30d/8c6cfb43ec962418d0422fdca6522aec/react+multiple-gantts-7.1.0-trial.zip