Hardcode File Save Location And File Name

Hardcode File Save Location And File Name

drummonddrummond Posts: 1Questions: 1Answers: 0

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

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598
    Answer ✓

    You can specify the name of the file with filename (excel) or title, 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

This discussion has been closed.