Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82117

Performance issue about 'full_numbers' pagination

$
0
0
I'm using datatables 1.9.0, It is very well, and saved many time of my team.
But we encountered a issue during performance testing, the table loading very slow if the records count is big.
I debugged the source code and found 'fnUpdate' method raised this issue, since this method need to generate 'a' link for pagination, but there are some bad code, this method will generate many hidden 'a' link if there are a lot of data , it means the DOM will dynamically load many html tag during loading table.
So I changed this method to fix the bug, I just added a data attribute to 'a' link, and use it to indicate the pagenumber.

Viewing all articles
Browse latest Browse all 82117

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>