Customize settings of web spreadsheet document editor
In This Topic
UI-control
WebSpreadsheetDocumentEditorControlJS allows to define DOM-element, which should be used as container for spreadsheet document editor, and allows to define a collection of UI-elements, which represent the user interface of web spreadsheet document editor.
Here is JavaScript code that demonstrates how to create web spreadsheet document editor with default settings:
// create the default settings for web spreadsheet document editor
var spreadsheetDocumentEditorSettings =
Vintasoft.Imaging.Office.UI.WebSpreadsheetDocumentEditorControlSettingsJS("spreadsheetDocumentEditorContainerId", "spreadsheetDocumentEditorLocalizationId");
// create web spreadsheet document editor
var spreadsheetDocumentEditor =
new Vintasoft.Imaging.Office.UI.WebSpreadsheetDocumentEditorControlJS(spreadsheetDocumentEditorSettings);
When instance of
WebDocumentViewerSettingsJS class is created, the
WebUiControlJS.get_Items function allows to get a collection of UI-elements, which are presented in web spreadsheet document editor by default. The items collection can be changed by adding/moving/deleting of UI-element.