Too slow to load

Too slow to load

panos78panos78 Posts: 1Questions: 1Answers: 0

Hallo,
I am a newbie in Datatables.
I am trying to implement Datatables in a Tampermonkey script by importing an array of 1.300 rows but it needs 58 seconds to generate the enhanced table.
I have tried to add deferRender but when I did it return an error.
I was wondering if it better to generate the table rows outside of Datatables process and implement Datatables on the generated table afterwards.
Could this be a solution?
Also, I would like to implement the searchPanes plugin but the situation gets even worst.
Any idea what am I doing wrong?
Thanks in advance for your answers.
:smile:

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    This section of the FAQ should help, it discusses various techniques to improve performance.

    If that doesn't help, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • allanallan Posts: 61,438Questions: 1Answers: 10,050 Site admin

    58 seconds for just 1300 rows suggests something is very wrong to me. As Colin says, we'd need a test case showing the issue.

    Allan

Sign In or Register to comment.