Filename- string
filename: 'super-secret-data'
... OR any string
besides "id"
Name | Position | Age | Salary |
---|---|---|---|
Thor Walton | Regional Director | 45 | $98,540 |
Travis Clarke | Software Engineer | 30 | $275,000 |
Suki Burks | Office Manager | 22 | $67,670 |
$441,210 |
export the table to .xlsx
and look at the filename of the downloaded file. Compared to the export from the defaults table above, you will notice that, filename: 'super-secret-data'
creates a download with the same name as the provided string (super-secret-data.xls) instead of the table element's id
.