Enum ColumnType
Stay organized with collections
Save and categorize content based on your preferences.
ColumnType
An enumeration of the valid data types for columns in a DataTable
.
To call an enum, you call its parent class, name, and property. For example,
Charts.ColumnType.DATE
.
Properties
Property | Type | Description |
DATE | Enum | Corresponds to date values. |
NUMBER | Enum | Corresponds to number values. |
STRING | Enum | Corresponds to string values. |
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-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["\u003cp\u003e\u003ccode\u003eUpdateDraftActionResponse\u003c/code\u003e allows you to programmatically modify email drafts, such as adding recipients, subject lines, and content.\u003c/p\u003e\n"],["\u003cp\u003eIt supports inserting various types of content including plain text, HTML, and immutable HTML (non-editable).\u003c/p\u003e\n"],["\u003cp\u003eYou can specify where the content should be inserted within the draft using \u003ccode\u003eUpdateDraftBodyType\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateDraftActionResponse\u003c/code\u003e includes a \u003ccode\u003eprintJson()\u003c/code\u003e method for debugging purposes.\u003c/p\u003e\n"],["\u003cp\u003eIt provides specific actions for updating recipients (To, CC, BCC) and the email subject.\u003c/p\u003e\n"]]],["The `ColumnType` enumeration defines valid data types for `DataTable` columns. It includes three properties: `DATE`, representing date values; `NUMBER`, representing numerical values; and `STRING`, representing string values. To use a specific type, reference it through `Charts.ColumnType`, followed by the desired property name (e.g., `Charts.ColumnType.DATE`). These are the only types allowed in the table.\n"],null,["# Enum ColumnType\n\nColumnType\n\nAn enumeration of the valid data types for columns in a [DataTable](/apps-script/reference/charts/data-table).\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCharts.ColumnType.DATE`. \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------|-------------------------------|\n| `DATE` | `Enum` | Corresponds to date values. |\n| `NUMBER` | `Enum` | Corresponds to number values. |\n| `STRING` | `Enum` | Corresponds to string values. |"]]