Skip to content

API Data Fetching Fast, but NgxGantt Rendering Very Slow #583

@AirDNA6

Description

@AirDNA6

I’m experiencing an issue with fetching data through the API. In the network tab, the API call completes in 2–3 seconds, but the response appears empty. Rendering the data in the Gantt chart takes several minutes, even with only 15 items in the list.

If I comment out the Gantt chart, the network response shows the data correctly. I also tried using ngZone—the data is received in the expected 2–3 seconds, but the Gantt chart then freezes and takes a long time to render.

Additionally, I tried using:

@ViewChild('gantt') ganttComponent: NgxGanttComponent;
this.ganttComponent.rerenderView();

The rendering is very heavy. I also tested with the same data from the API as static data, and in that case, the Gantt chart displays it immediately.

I’ve tried the previously suggested solutions, but the issue persists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions