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?