ServerSide pagination working but diplaying all the data in single page, I am using V 1.9.4

ServerSide pagination working but diplaying all the data in single page, I am using V 1.9.4

JohnnyBhoyJohnnyBhoy Posts: 1Questions: 1Answers: 0
edited February 2022 in DataTables 1.9

dom: "Blfrtip",
serverSide: true,
processing: true,
fixedColumns: true,
scrollX: true,
paging: false,
scrollCollapse: true,
fnInitComplete: function(oSettings, json) {
loading(false);
setTableData(table.ajax.json().data);
//$(".dt-buttons .buttons-edit span").html("Edit");
if (typeof cb == "function") {
cb();
}
},

Answers

  • kthorngrenkthorngren Posts: 20,425Questions: 26Answers: 4,794

    You have paging set to false which will show all the data on one page. Remove this option to allow serverSide paging to work.

    Kevin

Sign In or Register to comment.