Dynamic creation of large html table in javascript performance

前端 未结 7 1332
轻奢々
轻奢々 2020-12-02 23:30

I have an application which is used for data analysis and I\'m having a few performance issues with the creation of the table. The data is extracted from documents and it is

7条回答
  •  無奈伤痛
    2020-12-03 00:08

    Displaying that many rows is causing the browser's rendering engine to slow down, not the JavaScript engine. Unfortunately there's not a lot you can do about that.

    The best solution is to just not display so many rows at the same time, either through pagination, or virtual scrolling.

提交回复
热议问题