Export with server side not export all pages
Export with server side not export all pages
luizgoka
Posts: 5Questions: 1Answers: 0
Hello,
I need to export the table with server side processing but just export the page selected
table = $('#tb').DataTable({
"sScrollX": "100%",
"bPaginate": true,
"bLengthChange": true,
"bFilter": true,
"bSort": false,
"bInfo": true,
"bAutoWidth": false,
"bProcessing": true,
"bServerSide": true,
"oLanguage": {
"sLoadingRecords": "Please wait - loading..."
},
"sPaginationType": "full_numbers",
"sAjaxSource": $('#urlSearch').val(),
"aoColumnDefs": [
{ "aTargets": [0], "bSortable": false },
{ "aTargets": [1], "bSortable": false },
{ "aTargets": [2], "bSortable": false },
{ "aTargets": [3], "bSortable": false },
{ "aTargets": [4], "bSortable": false }
],
dom: 'Bfrtip',
buttons: [
'copy', 'csv', 'excel', 'print'
]
});
This discussion has been closed.
Answers
Please see the FAQs - Q. How can I export the whole table when using serverSide and Buttons..
Allan