Get data from ExportTo function without open “Save As” window
How get the html content from “exportTo” function without open the “Save As” window? Something like the code below:
this.webDataRocksPivot.webDataRocks.exportTo( "html",
{
header:"A header",
footer: "A footer",
filename: "A file name",
destinationType: "file",
},
function (fileData) {
//I need thisdata without open the "SaveAs" window
console.log(fileData.data);
});
1 answer
Hi Gleyton!
“Save As” is strongly required due to web browser’s security policy. There is no way to avoid it.
Thanks