JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › I’m having a problem exporting data (xlsx) Missing reference to ‘jszip,js’ › Reply To: I’m having a problem exporting data (xlsx) Missing reference to ‘jszip,js’
Hi,
To enable every type of export, you have to copy the following files from the node_modules/smart-webcomponents-react/common:
jszip.min.js, pdfmake.min.js, vfs_fonts.js, html2canvas.min.js.
into the public folder. When they are available there, open index.html and reference them:
<script type=”text/javascript” src=”https://www.htmlelements.com/demos/scripts/jszip.min.js”></script>
<script type=”text/javascript” src=”https://www.htmlelements.com/demos/scripts/pdfmake.min.js”></script>
<script type=”text/javascript” src=”https://www.htmlelements.com/demos/scripts/vfs_fonts.js”></script>
<script type=”text/javascript” src=”https://www.htmlelements.com/demos/scripts/html2canvas.min.js”></script>
I hope this helps you resolve the problem!
Best Regards,
Svetoslav Borislavov
Smart UI Team
https://www.htmlelements.com/