ngx-excel-export
ngx-excel-export copied to clipboard
jszip is not a constructor when write a file using XLSXStyle.write()
Hi, i tried to export by using this blog. I am able to download a file using XLSX.write() but i need to add background color to cell. So, i used XLSXStyle.write(). It is not working. I got below exception. Kindly assist me.
DifferenceComponent.html:222 ERROR TypeError: jszip is not a constructor at write_zip (xlsx.js:11654) at write_zip_type (xlsx.js:11770) at Object.writeSync [as write] (xlsx.js:11784)
I searched more than 6 hours but not got any proper solution. I checked this blog https://github.com/SheetJS/sheetjs/issues/299. I don't know how to map xlsx.full.min.js instead of xlsx.js. Kindly assist