Hello.
I am using document editor and spreadsheets for showing .docx and .xlsx files on my web page (only showing, no editing..). The .js file that needs to be included is 18MB big. Because most of my users are viewing this documents through tablets that dont have large capacities and good internet connection the page is loading too long..it takes almost 30s to load js and css needed for document editor and spreadsheets editor..
I have tried this (https://crg.syncfusion.com/?_ga=2.220467160.1149025405.1691496632-158894154.1688380021&_gl=1*13dvvjb*_ga*MTU4ODk0MTU0LjE2ODgzODAwMjE.*_ga_WC4JKKPHH0*MTY5MTQ5NjYyOS4yNi4xLjE2OTE0OTgwMDEuNTEuMC4w*_ga_2QTHE2Y2YX*MTY5MTQ5NjYzMS4yNS4xLjE2OTE0OTgwMDIuNTAuMC4w*_ga_41J4HFMX1J*MTY5MTQ5Nzk5Mi4xLjEuMTY5MTQ5ODEyNC4wLjAuMA..) and select only this two but I get .js file that is 24MB big...
Is there maybe a shorter JS and CSS for this functionality?
I have also tried to include this files seperatly like described here in step 4:
https://ej2.syncfusion.com/javascript/documentation/document-editor/getting-started
But now the documents are not showing at all and I am getting errors in chrome console:
Hi Tadej,
We have checked your case, and we suspect you don't use minified script, so it takes 24 MB. We suggest using minified script, which takes 7 MB. We have attached a sample for your reference.
Regards,
Selvaprakash K
Thank you, with this file opening documents also work but it is still to big to process and tablets take a long time to open page.
Do syncfusion have some module that I can convert .xlsx and .docx files to pdf in python?
Hi Tadej,
Document editor
The document editor doesn't have support for document-to-pdf conversion in Python, and we support that only in ASP.NET. So, we suggest you use the local ASP.NET web service to meet your requirements.
UG: https://ej2.syncfusion.com/javascript/documentation/document-editor/how-to/export-document-as-pdf
Spreadsheet
We have done the Open/ Save (server side) functionality in ASP.NET only. we are using the Syncfusion XLSIO library for open/save action in spreadsheet. We don’t have open/save server-side functionality for spreadsheet in Python. So, we suggest you use the local ASP.NET web service for open/save action to achieve your requirement in your end.
https://ej2.syncfusion.com/documentation/api/spreadsheet/#save
https://ej2.syncfusion.com/documentation/spreadsheet/open-save