IdcDepositListExcel.jsp change...

This commit is contained in:
최준흠 2022-03-25 10:16:39 +09:00
parent de6664358a
commit 6b6675575f

View File

@ -11,7 +11,10 @@ var tableToExcel = (function(){
return function(table, name) {
if (!table.nodeType) table = document.getElementById(table)
var ctx = {worksheet: name || 'Worksheet', table: table.innerHTML}
window.location.href = uri + base64(format(template, ctx))
//window.location.href = uri + base64(format(template, ctx))
document.getElementById("dlink").href = uri + base64(format(template, ctx));
document.getElementById("dlink").download = filename;
document.getElementById("dlink").click();
}
})();