Access and modify an existing column in a DataSourceTable
. To add columns to a data
source table, use DataSourceTable.addColumns(columnNames)
.
Only use this class with data that's connected to a database.
Methods
Method | Return type | Brief description |
---|---|---|
getDataSourceColumn() | DataSourceColumn | Gets the data souce column. |
remove() | void | Removes the column from the DataSourceTable . |
Detailed documentation
getDataSourceColumn()
Gets the data souce column.
Return
DataSourceColumn
— 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 DataSourceTable
.
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