Spreadsheet Editor - View Mode

Requirements
View Demo

View mode allows users to navigate spreadsheets using a familiar grid interface. View calculated cells and formulas, and change workbook sheets without making unexpected changes.

Spreadsheet Editor must be purchased as an add-on to your Web SDK subscription.

spreadsheet editor sample

APIs

The Spreadsheet Editor APIs provide access to editor state and functionality, enabling you to monitor, customize, and control spreadsheet experiences in your application. For event-driven workflows, see Spreadsheet Editor Events to learn how to subscribe to editor, worksheet, cell, and formula bar events.

Get current edit mode

Use the getEditMode API to check the current editor mode:

JavaScript

1WebViewer(...)
2 .then(instance => {
3 const { documentViewer } = instance.Core;
4 const spreadsheetEditorManager = documentViewer.getSpreadsheetEditorManager();
5 const spreadsheetMode = spreadsheetEditorManager.getEditMode();
6 console.log(spreadsheetMode); // 'viewOnly'
7 });

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales