Get started with Spreadsheet Editor by enabling it and loading an initial or blank spreadsheet. From there, view, edit, or create data in your XLSX spreadsheet. For more, see the Spreadsheet Editor overview.
The web component version of the Web SDK Modular UI is the recommended integration method and supports the latest WebViewer features. The Spreadsheet Editor also supports Iframe mode for legacy integrations. See Using an iframe and Iframe vs Web Component for more details.
Learn how to integrate WebViewer and enable the Apryse Spreadsheet Editor by selecting a tab and viewing the corresponding video. All videos integrate WebViewer with the Spreadsheet Editor enabled.
You can also skip the videos and go to the WebViewer constructor section to get started.
How to ad Spreadsheet Editor 11.10 in a React project
Integrate WebViewer and enable Spreadsheet Editor in a React with Vite project
Integrate WebViewer and enable Spreadsheet Editor in a Nuxt project
Before you start:
Apryse collects some data regarding your usage of the SDK for product improvement.
If you wish to continue without data collection, contact us and we will email you a no-tracking trial key for you to get started.
To enable the Spreadsheet Editor, set the initialMode parameter in the WebViewer constructor. Supported values are defined in the Modes enum. Omitting initialDoc will load an empty spreadsheet. The following example loads an existing spreadsheet.
This example shows how to implement the code in an HTML project with WebViewer and the Spreadsheet Editor enabled.
index.html
By default, the Spreadsheet Editor opens in view‑only mode. To start in editing mode, set the initialEditMode property within the spreadsheetEditorOptions parameter in the WebViewer constructor.
The following example loads a spreadsheet in editing mode, allowing you to interact with and modify its contents.
To load a spreadsheet using the Spreadsheet Editor, call the UI.loadDocument() method. If you're switching from the PDF viewer, include the initialMode option and set it to WebViewer.Modes.SPREADSHEET_EDITOR.
You can also use the enableOfficeEditing: true property to load the Spreadsheet Editor. If you pass a file as a blob, make sure to include the extension option with the value xlsx. When you pass in a file path, it must have the .xlsx extension.
Before performing any programmatic actions, you must listen for the SPREADSHEET_EDITOR_READY event. This event fires after the editor has initialized and is ready for interaction. The following example waits for the editor to initialize before enabling EDITING mode:
To explore additional document workflows and features, see:
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales