TableTools generate_xls.php file?

TableTools generate_xls.php file?

fbasfbas Posts: 1,094Questions: 4Answers: 0
edited September 2013 in General
I have a customer requesting that I export data with a mime header, much as described in the Plugins section of TableTools
http://datatables.net/extras/tabletools/plug-ins

In your example, you write a grab to a hypothetical generate_xls.php file. I'm wondering if you have a real file/sample somewhere that does this (even if it is just the tab-delimited data similar to the output of the Excel button).

Please say you do. :)

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Sorry - I don't :-(. I might have done once upon a time (I'm sure I remember doing it sometime), but its not on my file system now...

    However, it shouldn't be too difficult to create one using the PHP libraries available, or one of the blob writing techniques - http://stackoverflow.com/questions/10595599/which-is-the-best-way-to-generate-excel-output-in-php .

    Allan
  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    Thanks for the link. I've been able to get started using PHPExcel. I now need to integrate the filter/sort values from DataTables, but I believe the plugin link has enough info for me to work on.
This discussion has been closed.