Clear config of gantt when switch screen different

Each screen we use is a different set of configs, when switching between screens, they conflict and break the desired structure, here we have to reload the new page to correct the desired way. when turning the page it got the configuration of the correct screen there !!! Thanks, dear

Hi @linhtv97,
I think that your issue is that some configurations will be changed only after gantt reinitialize: gantt.init(). So, in order to fix this “configurations conflicts” you should reinitialize gantt with new config after every switch between screens. Like in this snippet:
http://snippet.dhtmlx.com/7f7bb263a
Also, you can use multiple gantts functionality(available only in PRO) and set different configs for each gantt instance, like in this snippet:
http://snippet.dhtmlx.com/a5d6c2720
API:
multiple gantts
https://docs.dhtmlx.com/gantt/desktop__multiple_gantts.html