Export with server side not export all pages

Export with server side not export all pages

luizgokaluizgoka Posts: 5Questions: 1Answers: 0
edited September 2016 in Free community support

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'
    ]
});

Answers

This discussion has been closed.