Our state of the art Gantt chart


Post by omkar ankam »

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.


Post by omkar ankam »

When i refresh the page after clicking the critical path button it should save in the local browser storage till the user clears the cache


Post by marcio »

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


Post by omkar ankam »

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;


Post by marcio »

Hey omkar ankam,

Could you please provide a sample project with your configuration for us to check? With that would be a lot easier to provide you assistance with your case.

Best regards,
Márcio


Post by omkar ankam »

gantt.PNG
gantt.PNG (15.18 KiB) Viewed 139 times
code.PNG
code.PNG (21.79 KiB) Viewed 138 times

Post by omkar ankam »

Any Update


Post by omkar ankam »

Any Update


Post by mats »

Hi omkar ankam,

Please provide a sample project with your configuration for us to be able to debug.


Post by omkar ankam »

I don't know how to provide a sample project
Can you the above code in your sample project


Post Reply