Excel XLSX parser/generator written in JavaScript with Node.js and browser support, jQuery/d3-style method chaining, encryption, and a focus on keeping existing workbook features and styles in tact.
const handleExport = (data) => {
const title = [
[
"SL.No",
"Employee Name",
"Portfolio data saved",
"Processed by",
"Processing and Checking of portfolio data",
"Processed by",
"Reconciliation of data and reports",
"Processed by",
"Review of reconciliation and reports",
"Processed by",
"2nd level review of reconciliation and reports submitted by SRM",
"Processed by",
"Release the report to the client",
"Processed by",
],
];
const handleExport = (data) => { const title = [ [ "SL.No", "Employee Name", "Portfolio data saved", "Processed by", "Processing and Checking of portfolio data", "Processed by", "Reconciliation of data and reports", "Processed by", "Review of reconciliation and reports", "Processed by", "2nd level review of reconciliation and reports submitted by SRM", "Processed by", "Release the report to the client", "Processed by", ], ];
};
handleExport(response?.data?.employeeData).then((url) => { const downloadAnchorNode = document.createElement("a"); downloadAnchorNode.setAttribute("href", url); downloadAnchorNode.setAttribute( "download",
Customer_Analytics_Progress_${formattedDate}.xlsx
); downloadAnchorNode.click(); downloadAnchorNode.remove(); });