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

TableTools - Duplicate records appended to DataTables on print when bScrollInfinite property is used

$
0
0
Duplicate records appended to DataTables each time when clicked on print icon of TableTools while "bScrollInfinite" and "bServerSide" is true.

If I removed the property "bScrollInfinite" then data duplication is not found, but in my case infinite scroll is required.

Here is my configuration:
-------------------------------------------------
$(document).ready( function (){
	$('#example').dataTable({
		"bProcessing": true,
		"bServerSide": true,
		"bScrollInfinite": true,
		"bScrollCollapse": true,
		"sScrollY": "300px",
		"sAjaxSource": "scripts/server_processing.php",
		"sDom": 'T<"clear">lfrtip',
		"oTableTools": {
			"aButtons": [ "pdf", "Print" ]
		}
	});
});

Does anybody knows why is this problem occurs?
I would appreciate if anybody has the solution with working examples. Also requested to explain in details.

Thanks,
Ashis Kumar Mohanty

Viewing all articles
Browse latest Browse all 82257

Trending Articles



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