Hi! I’ve implemented a solution to do a batch delete on multiple tasks. Depending on how many tasks are visible(some of them have children that are not visible) it can take more it takes me to reload the gantt, which I find absurd… I have a custom implementation, which I know impacts the performance on each action, but did not expect to see this at deletion. An addtask takes me around 2 seconds. It takes me around 5 seconds to load ALL the data in the gantt(around 2000 tasks spread across a pretty big timespan), but to delete a task tree of 8 tasks it takes me 9 seconds. If I want to batch delete multiple parents with their children, let’s say 32 tasks it takes me 30-35 seconds. This is not really acceptable. I’ve already applied every solution I found on the performance article(smart_rendering, static background etc.) and I am also using an gantt.batchUpdate on my for loop.
Is there any way I could improve this? Or can i remove these tasks without re-rendering? If I have more than two tasks I am better of doing this and triggering a re-render at the end.
Thanks a lot for the help!