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

Does deferRender also remove rows?

$
0
0

I am using deferRender to only render rows as I scroll. When I use the browser inspector, I can see there are only 72 rows (in my case). I see that by running $('.dataTables_scrollBody tbody').children().length. I was surprised when I started scrolling down the page to see that top rows are removed from the DOM, as well, so the count stays 72 no matter what.

Is there a way to keep any previously rendered rows around? Can you confirm this is due to the scroller plugin and deferRender? Is there an event that gets fired whenever a row/cell is destroyed, in case I need to perform clean up?


Viewing all articles
Browse latest Browse all 81728

Trending Articles



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