Hardcode File Save Location And File Name
Hardcode File Save Location And File Name

When using the Export button found here https://editor.datatables.net/examples/extensions/exportButtons.html is there a way to hardcode a save location and file name? Meaning, could I edit the JavaScript files to say save on the users desktop and call the file Editor_DataTable Name_Date.csv?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You can specify the name of the file with
filename
(excel) ortitle
, see here.You have no control over the location, that would pose a security risk, that can only be set by the user in the browser.
Colin