Using DHTMLX Gantt in Two Different Components



I’m using DHTMLX Gantt in two (2) components in my project:

  1. for pre-planned tasks
  2. as a medium to plan new tasks

I have initialized both with different data which works perfectly fine.
For the first gantt, I replaced the “+” button with a different button (custom), which also worked.

However, for the second gantt, I haven’t configured the gantt.config.columns but it is showing the columns of the first gantt as well.

Any help would be appreciated. Thank you!



I read the docs and it says that the gantt object is static.
I would need the pro version to have different instances.