Duplicate records (the last 10 visible records) appended to DataTables each time when I am redrawing the table using the below code
Redrawing Datatables
--------------------------
myExample .fnDraw(false);
If I remove the false parameter, duplication is not found but scrollbar is moving to top.
My Requirement
-------------------
I want to redraw the datatables with the scrollbar @ the existing location.
NOTE: "bScrollInfinite" and "bServerSide" is true.
If I removed the property "bScrollInfinite" then data duplication is not found.
Here is my configuration:
-------------------------------------------------
$(document).ready( function (){
var myExample = $('#example').dataTable({
"bProcessing": true,
"bServerSide": true,
"bScrollInfinite": true,
"bScrollCollapse": true,
"sScrollY": "300px",
"sAjaxSource": "scripts/server_processing.php"
});
});
Does anybody knows why is this problem occurs?
I would appreciate if anybody has the solution with working examples.
Thanks in advance
Redrawing Datatables
--------------------------
myExample .fnDraw(false);
If I remove the false parameter, duplication is not found but scrollbar is moving to top.
My Requirement
-------------------
I want to redraw the datatables with the scrollbar @ the existing location.
NOTE: "bScrollInfinite" and "bServerSide" is true.
If I removed the property "bScrollInfinite" then data duplication is not found.
Here is my configuration:
-------------------------------------------------
$(document).ready( function (){
var myExample = $('#example').dataTable({
"bProcessing": true,
"bServerSide": true,
"bScrollInfinite": true,
"bScrollCollapse": true,
"sScrollY": "300px",
"sAjaxSource": "scripts/server_processing.php"
});
});
Does anybody knows why is this problem occurs?
I would appreciate if anybody has the solution with working examples.
Thanks in advance