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

193
Views
KTDatatable does not export data to pdf,excel,csv files

enter image description herethe code :

datatable = $('#kt_datatable').KTDatatable({

        dom: 'Bfrtip',
        buttons: [
            'copyHtml5',
            'excelHtml5',
            'csvHtml5',
            'pdfHtml5'
        ],
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

KTDatatable does not support the export feature. But you can use this plugin to export as a PDF. Integrate it to your custom export button, by passing the data into the PDF plugin. https://github.com/simonbengtsson/jsPDF-AutoTable

var data = datatable.getDataSet();

Call this function to get the current data in the grid.

I would suggest CSV more than excel, and I think the easier one is to create a CSV file. You can also learn more about CSV text format here;

Export 2D javascript array to Excel sheet

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!