Enum SheetType
SheetType
The different types of sheets that can exist in a spreadsheet.
To call an enum, you call its parent class, name, and property. For example,
SpreadsheetApp.SheetType.GRID
.
Properties
Property | Type | Description |
GRID | Enum | A sheet containing a grid. This is the default type. |
OBJECT | Enum | A sheet containing a single embedded object such as an EmbeddedChart . |
DATASOURCE | Enum | A sheet containing a DataSource . |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`SheetType` defines the different types of sheets within a spreadsheet, including grid, object, and datasource."],["To reference a specific sheet type, use the syntax `SpreadsheetApp.SheetType.property`, replacing \"property\" with the desired type like `GRID` or `OBJECT`."],["Sheets can contain grids, embedded objects (charts), or serve as datasources."]]],[]]