Skip to content

Commit

Permalink
Download CSV Button will now download Files with the Original name
Browse files Browse the repository at this point in the history
  • Loading branch information
nilayb12 committed Dec 6, 2023
1 parent a7c4502 commit f9e99f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions viewTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ function initDataTable() {
{
extend: 'csv',
text: 'Download CSV',
title: csvFileSelected.value.substr(folderSelected.value.length,
csvFileSelected.value.length - folderSelected.value.length - 4),
exportOptions: {
columns: ':visible'
}
Expand Down

0 comments on commit f9e99f6

Please sign in to comment.