TableTools. PDF exporting always shows the title "DataTables Example"

TableTools. PDF exporting always shows the title "DataTables Example"

glasiuglasiu Posts: 2Questions: 0Answers: 0
edited October 2013 in General
Hi all, I have a problem, I am using bootstrap, everything works fine except that PDF export always shows the same header. How I can change this to be dynamic somehow or at least I do not appear over the title "DataTables Example" in PDF.

This is what always shows me:
https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-prn2/1381346_10201949079464712_278154819_n.jpg

Replies

  • glasiuglasiu Posts: 2Questions: 0Answers: 0
    After testing, I realized that depends on the HTML. It can then send any title parameter to change the title of the PDF?
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Sure - use the sFileName option: http://datatables.net/extras/tabletools/button_options#sFileName :-)

    Allan
This discussion has been closed.