Problem with html5 button export

Problem with html5 button export

PerdidoPerdido Posts: 5Questions: 2Answers: 0

Hello

I'm trying use initialise javascript to create buttons:

$(document).ready(function () {
    $('#tblReportWorkerActivity').DataTable({
        retrieve: true,
        dom: 'Bfrtip',
        buttons: [
            'copyHtml5',
            'excelHtml5',
            'csvHtml5',
            'pdfHtml5'
        ]
    });
});

But I don't know how doesn't work !
Maybe will be know where is my problem.

Best regards Dawid

This discussion has been closed.