Datatables velocity array >10000 regs
Datatables velocity array >10000 regs
pepitovadecurt
Posts: 5Questions: 1Answers: 0
Hi I have a PHP program that returns an array with >10000 lines in most cases.
To show the regs to datatables use foreach and echo to write every regs.
Using ajax or something to transfer the regs from PHP to datatables maybe it runs with more speed?
Thanks.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yes - it should run faster as you could enable the
deferRender
option to reduce the initial draw time. See the speed FAQ.Allan
Hi allan, the problem is the php time to return data. Now trying server side and post the results here.
Thanks.
I think I'm not in correct way. My app structure is:
Need the server side? Need to save to a database?
I want to show loading or calculating in the datatables because sometimes the calculation takes too long.
processing
will show a processing message when DataTables is busy.Allan