Ajax like performance on inline data (I have 3,000 records and dataTables is being slow)

Ajax like performance on inline data (I have 3,000 records and dataTables is being slow)

the6stepthe6step Posts: 12Questions: 0Answers: 0
edited October 2010 in General
So I have a table with around 2,800 records (or rows)... our backend guys are not quite ready to support AJAX, so it's up to me to make sure the end user has a good experience... is there any way to get dataTables to treat the table as remote data, and only execute on stuff it only absolutely needs to? Using things like infinite scroll (or pagination) I'm sure would help me immensely.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Not quite following - you want to use 2'800 rows of data, but only have it use the 10 or so which it is actually displaying? But how then will it support sorting / filtering etc. DataTables itself needs to know about all of the data, or if using server-side processing, the server will need to perform all of the operations (which you say you can't do just yet). So I'm not quite clear on what you mean about using it like remote data, but it not being remote data?

    Allan
This discussion has been closed.