We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I read a template file with styles but using cellStyles: true is not working, below is my code:
cellStyles: true
const exportReportCardExcel = async (data) => { const binaryString = await readFile(ExportReportCardTemplate); const workbook = xlsx.read(binaryString, { type: "binary", cellStyles: true, }); xlsx.writeFile(workbook, `file_xxx.xlsx`); } const readFile = (file) => { return new Promise((resolve, reject) => { const reader = new FileReader(); reader.onload = (e) => { resolve(e.target.result); }; reader.onerror = (e) => { reject(e); }; fetch(file) .then((response) => response.blob()) .then((file) => reader.readAsBinaryString(file)); }); };
Here is the template:
And here is the new exported file:
The text was updated successfully, but these errors were encountered:
@huan415201 I have the same problem... did you solve your problem?
Sorry, something went wrong.
@huan415201 Any news about this issue ?
any updates about this issue?
No branches or pull requests
I read a template file with styles but using
cellStyles: true
is not working, below is my code:Here is the template:
And here is the new exported file:
The text was updated successfully, but these errors were encountered: