Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

285
Views
"Excel" button does not appear in the DATATABLE plugin

I'm using a DATATBLE and it includes all the buttons that the DATATBLE itself makes available. All appear except excel and the PDF button when clicking nothing happens.

Order of my imports:

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"],  

My DATATBLE:

$(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" },
                            ]
                        });   
                     });

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

In order to make datatables work properly, I suggest to use the Datatable builder, so it wont broke or have unexpected behavior.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!