Toolbar
configurationA Boolean value which indicates if the toolbar will be displayed.
Apart from the built-in tools, the Spreadsheet File, Home, Insert, Format, Data and View ToolBars fully expose the ToolBar.items API. This way you can specify any custom tools in the widget using the components available in the ToolBar itself:
toolbar
Boolean|ObjectDefault: true
toolbar.data
Boolean|ArrayA Boolean value which indicates if the Data tab or a collection of tools that will be shown in the Data tab will be displayed.
The available tools are:
sortfiltervalidation
Default: true
toolbar.file
Boolean|ArrayA Boolean value which indicates if the File tab or a collection of tools that will be shown in the Home tab will be displayed.
The following list indicates the available tools.
openexportAs
Default: true
toolbar.format
Boolean|ArrayA Boolean value which indicates if the Format tab or a collection of tools that will be shown in the Format tab will be displayed.
The following list indicates the available tools
formatformatDecreaseDecimalformatIncreaseDecimal
Default: true
toolbar.home
Boolean|ArrayA Boolean value which indicates if the Home tab or a collection of tools that will be shown in the Home tab will be displayed.
The following list indicates the available tools. The tools which are part of a tool group are defined as an array. For example ["bold", "italic", "underline"].
- [
undo,redo] - [
cut,copy,paste] - [
bold,italic,underline] backgroundColor,textColorbordersfontSize,fontFamilyalignmenttextWrap
Default: true
toolbar.insert
Boolean|ArrayA Boolean value which indicates if the Insert tab or a collection of tools that will be shown in the Insert tab will be displayed.
The following list indicates the available tools. The tools which are part of a tool group are defined as an array. For example ["deleteColumn", "deleteRow"].
insertCommenthyperlinkinsertImage- [
addColumnLeft,addColumnRight,addRowBelow,addRowAbove] - [
deleteColumn,deleteRow]
Default: true
toolbar.view
Boolean|ArrayA Boolean value which indicates if the View tab or a collection of tools that will be shown in the View tab will be displayed.
The following list indicates the available tools
freezemergetoggleGridlines
Default: true