Hello,
I would like to execute a function after the gantt is “updated” after resizing, for example :
when i resize my resource list panel, the resource list columns are reloaded (from the config that i gave). And i lost dom modification that i made after the gantt render.
Hello Hellois,
It is not recommended to modify the DOM elements of Gantt directly. When Gantt is repainted, the changes will be lost. And there are many actions that trigger the repaint event. For example, if you update a task, Gantt will call the render method, and it will repaint the resource grid as well.
Instead of that, you can use the templates and return the HTML elements there: