Table first loads all rows and later applies pagination
Table first loads all rows and later applies pagination
Hello all,
First of all, probably my answer is a duplicate of this one: https://www.datatables.net/forums/discussion/28146/my-table-loads-twice-once-full-and-then-with-paging.
However, I'm not satisfied with that answer.
I have a table with around 400 rows, I want a max limit of 5 record per page. So I set up pageLength
to 5. If I load the page, the table first loads all 400 rows and shows them also. If it's ready, it applies the pagination.
Is it possible to show nothing until the table is loaded and pagination is applied?
I know that a AJAX call might fix this, but I actually want to make use of the basic DataTables principle.