From f9e99f6d81522942bc77f0ba5a7a5b900ae605e2 Mon Sep 17 00:00:00 2001 From: nilayb12 <65295315+nilayb12@users.noreply.github.com> Date: Wed, 6 Dec 2023 15:59:15 +0530 Subject: [PATCH] Download CSV Button will now download Files with the Original name --- viewTable.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/viewTable.js b/viewTable.js index 7e55b5c..f1b7e27 100644 --- a/viewTable.js +++ b/viewTable.js @@ -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' }