Skip to main content

ASPxClientSpreadsheet.SetViewMode(mode) Method

Specifies the control’s view mode.


    mode: ASPxClientSpreadsheetViewMode
): void


Name Type Description
mode ASPxClientSpreadsheetViewMode

A value specifying the control’s view mode.


The Spreadsheet control provides the Reading view mode that simplifies viewing documents on mobile devices. When the control in this view mode, all documents are opened in the read-only mode, and the ribbon toolbar is replaced with the specific toolbar for the Reading view mode. The Reading view mode is an alternative to the Editing view mode - the view mode that provides the standard full-featured Spreadsheet.

The SetViewMode method allows you to switch between the Reading and Editing view modes.

Usage example:

See Also