O
O
Octoberfest2017-07-24 23:48:32
JavaScript
Octoberfest, 2017-07-24 23:48:32

How to speed up DataTables with a large number of records?

Hello. There are 5000 records in the database that need to be displayed in DataTables. When unloading all the records at once on the client side (in the browser), lags and freezes begin to appear, how can you render in batches, or page by page?

Or is it better to display this volume of records in some other way, if so, what analogue would you recommend?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Larisa Moroz, 2017-07-24
@Octoberfest

Use the serverSide option ( https://datatables.net/examples/data_sources/serve... ).
How to implement this in laravel is described in detail here: https://datatables.yajrabox.com/starter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question