DayPilot.Gantt - collapsing large task tree
1 years ago.
Hi there,
We see massive performance issues trying to collapse a large tree of nested tasks. The only option to collapse all items within a tree that we saw, was iterating over each item and calling row.collapse(). Doing it on a large tree will then hang the browser window for up to a minute.
What we assume is that each time we call collapse(), the Gantt chart triggers a refresh/reload. Would it be possible to have a way of only triggering the reload once we are done iterating? Either by having a flag (e.g. row.collapse(false)) or by having a way of collapsing large amounts of tasks without a massive performance hit?
Many thanks!
DayPilot