Adding extra info to excel file

Adding extra info to excel file

eea61eea61 Posts: 5Questions: 0Answers: 0
edited June 2012 in General
I am using tables tools. I see that it is possible to add a header to pdf file with sPdfMessage. I wonder if it is possible to do the same for excel file?

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    The way to do that is to override the fnClick method for the button and add your own code in to do the export. Have a look at the TableTools code for that default click function: https://github.com/DataTables/TableTools/blob/master/media/js/TableTools.js#L2203

    Allan
  • eea61eea61 Posts: 5Questions: 0Answers: 0
    Thanks :-)
This discussion has been closed.