Adding export to pdf csv excel etc. to dataTables not working

Adding export to pdf csv excel etc. to dataTables not working

martinwebmartinweb Posts: 2Questions: 1Answers: 0
edited September 2016 in Free community support

I want to add this export functionality to my existing sort function below:

var fTable = $('#DataTables_Table_6').dataTable();
fTable.fnSort( [ [2,'desc'] ] );

Answers

  • allanallan Posts: 63,116Questions: 1Answers: 10,397 Site admin

    That's what the Buttons extension is for.

    Allan

  • martinwebmartinweb Posts: 2Questions: 1Answers: 0

    And if I am still using DataTools?
    This is working perfectly on my other sites with me just including the dataTable-tools in the class of the table.

This discussion has been closed.