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

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

ashis82ashis82 Posts: 6Questions: 0Answers: 0
edited August 2012 in TableTools
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:
-------------------------------------------------
[code]
$(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" ]
}
});
});
[/code]

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

Replies

  • ashis82ashis82 Posts: 6Questions: 0Answers: 0
    edited March 2013
    OOPS! No Answers till date..
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    See my reply to your post here: http://datatables.net/forums/discussion/14532 . The issue is that infinite scrolling is not a good solution and might be dropped in future versions. It is not going to see any issues addressed in the current development plan certainly as it has been superseded by Scroller now.

    Allan
This discussion has been closed.