adding date to filename during export

adding date to filename during export

pluginfanpluginfan Posts: 6Questions: 0Answers: 0
edited March 2011 in TableTools
Is it possible to add date to sFileName before export....

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Yes. Just get the date using new Date() and add it (with whatever formatting you need) using the sFileName property: http://datatables.net/extras/tabletools/button_options#sFileName

    Allan
This discussion has been closed.