Class DataSourceTableColumn
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
-
DataSourceTableColumn
allows you to access and modify existing columns in aDataSourceTable
. -
This class should only be used with data connected to a database.
-
You can get the associated data source column or remove the column from the table using the available methods.
-
Using the methods of this class requires specific authorization scopes for spreadsheets.
Access and modify an existing column in a Data
. To add columns to a data
source table, use Data
.
Only use this class with data that's connected to a database.
Methods
Method | Return type | Brief description |
---|---|---|
get | Data | Gets the data source column. |
remove() | void | Removes the column from the Data . |
Detailed documentation
getDataSourceColumn()
Gets the data source column.
Return
Data
— The data source column.
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
remove()
Removes the column from the Data
.
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets