Estoy usando un DATABLE e incluye todos los botones que el DATABLE mismo pone a disposición. Todos aparecen excepto Excel y el botón PDF al hacer clic no pasa nada.
Orden de mis importaciones:
define( ["jquery","jqueryui","bootstrap","bootstrap.datetimepicker","app/datatable","sweet-alert.min","jszip.min","dataTables.net-buttons","pdfmake.min", "vfs_fonts","buttons.html5.min","buttons.print.min"],Mi CUADRO DE DATOS:
$(document).ready(function() { tableInscricoes = $('#inscricoes').DataTable({ data: data, pageLength: 50, dom: 'Bfrtip', buttons: [ 'copy', 'csv', 'excel', 'pdf', 'print' ], // retrieve: true, columns: [ { title: "Selecione" }, { title: "Ação" }, { title: "Curso" }, { title: "Série Escola" }, { title: "RA" }, { title: "Aluno" }, { title: "Turma Aut." }, { title: "Inscrição" }, { title: "Início Mat." }, { title: "Fim Mat." }, { title: "Dt. Cancel." }, { title: "Cancel. Por" }, ] }); });