New to KendoReact? Start a free 30-day trial
Exporting Spreadsheet Data as Excel Blob in React
Environment
Product Version | 9.0.0 |
Product | Progress® KendoReact Spreadsheet |
Description
In React applications, handling Spreadsheet data involves exporting it as an Excel file or obtaining it as a Blob for further actions such as printing, exporting, or uploading. This KB article also answers the following questions:
- How to load an Excel file into the Spreadsheet component in React?
- How to export Spreadsheet data as an Excel Blob?
- How to upload Spreadsheet data after exporting it as a file?
Solution
To load an Excel file into the Spreadsheet, use the fromFile
method, which accepts a Blob
or a File
object. For example, you can load a file dropped over a drag-and-drop upload zone directly into the Spreadsheet.
In the following sample you can see how to load a file Dropped over a drag-and-drop-upload zone directly in the Spreadsheet:
Change Theme
Theme
Loading ...