supremeauron
Posts: 9
Joined: Mon Oct 25, 2021 2:19 pm

Gantt chart doesn't collapse properly

Good morning,
I have this Gantt:
https://stackblitz.com/edit/highcharts- ... mponent.ts

the first time you collpase any of the opened nodes then it works, from the second collapse it stop working.

Any advice?
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: Gantt chart doesn't collapse properly

Hello supremeauron!
We appreciate you reaching out to us with your inquiry.

Expanding of lists isn't working, because of wrong IDs in your data. id specifies a unique identifier for a point and it cannot be duplicated. I fixed some of the IDs in your data and everything started to work correctly.

Demo: https://stackblitz.com/edit/highcharts- ... ntt-zz91pn

Feel free to ask any further questions!
Regards!
Hubert Kozik
Highcharts Developer

Return to “Highcharts Gantt”