In a simple way, I can explain to you that I need to save the pressed value in browser storage for a specific user till he clears the browser history or cache.
Support Forum
Hey omkar ankam,
You can achieve that by using the https://bryntum.com/products/gantt/docs/api/Core/state/StateProvider to save some configuration in the browser storage.
Best regards,
Márcio
I have tried this logic but I can't able to change the color as we have changed the taskbar color after the changes this logic is not working after clicking the critical path button
onToggle pressed, source pressed: any; source: any
const gantt = source.parent.parent;
Gantt.features.criticalPaths.disabled = !pressed;