frappe / gantt

Open Source Javascript Gantt
https://frappe.io/gantt
MIT License
4.67k stars 1.04k forks source link

Refreshing Gantt - Going back to first task #214

Closed monis8khan closed 6 months ago

monis8khan commented 3 years ago

Whenever I refresh Gantt chart, It goes back to the first task. Actually I am using an HTML I-frame for the Gantt and have locked the drag input for some of the task but just simply adding refresh Gantt with the previous data. but every time it refresh, it goes back to the first task. I want it to stay on the task user edited!

safwansamsudeen commented 6 months ago

I'm not sure if I understand you - do you want persistent state? That's DB related.

You call Frappe Gantt with new Gantt - you can pass data as you wish there.