Angular Mat tree re-render performance issue takes too much time

Discussão em 'Angular' iniciado por androidGenX, Abril 10, 2025.

  1. androidGenX

    androidGenX Guest

    I am using mat-tree with very big data sets in child nodes on API call child having around 3k records and what I am doing is I'm updating the dataSource by adding the children from API under the dataSource and re rendering by

    this.dataSource.data = updatedDataDource;

    It is taking more than 15 seconds to re render and it is not acceptable.

    Is there any way so that I can re render only that node and that associated children from api(I mean kind of partial rendering). Please help if any one have same issue.

    Continue reading...

Compartilhe esta Página