How to save the view in gantt

Hii, I have tasks in gantt where I have open nodes and when I save the page refreshes and previous state is gone and all the nodes are close and we are back to the initial state, how can I save the view in gantt using react


You can store the close/open state of the tasks by adding an open parameter in your database and update it when you close/open tasks using onTaskClosed and onTaskOpened handlers: ; ;
Please check the demo of how it might be implemented: