Spreadsheet Excel

1 Answer 49 Views
Button
Pan
Top achievements
Rank 1
Iron
Pan asked on 17 Jun 2024, 08:22 AM

Hello,

  Spreadsheet how to get excel blob? Or print or export excel and upload the file stream yourself?

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 20 Jun 2024, 10:20 AM

Hi, Pan,

You can load excel file in the Spreadsheet by using its `fromFile` method that expects a `Blob` or a `File` object. In the following sample you can see how to load a file Dropped over a drag-and-drop-upload zone directly in the Spreadsheet:

I hope the provided sample will be helpful for you but do let me know in case I can assist you any further on this matter.

Regards,
Vessy
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources

Pan
Top achievements
Rank 1
Iron
commented on 21 Jun 2024, 09:53 AM | edited

hello
Pan
Top achievements
Rank 1
Iron
commented on 21 Jun 2024, 09:53 AM

hello,
Once the Spreadsheet has loaded a File, how do you use it to get a Blob or a file
Vessy
Telerik team
commented on 25 Jun 2024, 03:12 PM | edited

Hey, Pan,

 The `saveAsExcel` method in the KendoReact Spreadsheet is built to initiate the download of the spreadsheet's data as an XLSX file through the user's browser. This method triggers the browser's native file download functionality, however the component does not have a mechanism for obtaining the XLSX file/loaded data before that.

Tags
Button
Asked by
Pan
Top achievements
Rank 1
Iron
Answers by
Vessy
Telerik team
Share this question
or