Is it possible to use tableTools export features without actually populating a table

Is it possible to use tableTools export features without actually populating a table

ofirofir Posts: 6Questions: 3Answers: 0
edited May 2015 in Free community support

Hello guys,

I want to create a pdf file from an ajax data source without having to create an actual table on the dom (not even a hidden one)
is it possible to "tell" tableTools API the actual data without giving it a table element?

you can use the following link:
http://jsfiddle.net/wn7earcL/2/

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,679Questions: 1Answers: 10,498 Site admin
    Answer ✓

    No sorry. TableTools reads its data from the DataTable. If you wanted to create a PDF without using DataTables you would be best to look at a library like JsPdf or similar.

    Allan

  • ofirofir Posts: 6Questions: 3Answers: 0

    OK, thanks

This discussion has been closed.