Available in the Full Version

Spreadsheet - Import Data From Excel File

This sample demonstrates how to load an Excel file and display it via igSpreadsheet control.
  1. Download this sample Excel file
  2. Click Choose File/Browse button below and pick the sample Excel file or another excel file.
  3. Edit excel content or disable editing
  4. Download excel file
Choose a file...
Enable excel editing

This sample is designed for a larger screen size.

On mobile, try rotating your screen, view full size, or email to another device.

Using File API, the Excel file is read into Uint8Array object, which is then passed to the load method exposed by the Excel library. Once the workbook is obtained and igSpreadsheet control is initilized, the workbook is set to be displayed via the control's options. Then you can edit the spreadsheet content and save it back to excel file.

Code View

Copy to Clipboard