Enum ColumnType
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
JenisKolom
Enumerasi jenis data yang valid untuk kolom di DataTable
.
Untuk memanggil enum, Anda memanggil class induk, nama, dan propertinya. Misalnya,
Charts.ColumnType.DATE
.
Properti
Properti | Jenis | Deskripsi |
DATE | Enum | Bersesuaian dengan nilai tanggal. |
NUMBER | Enum | Sesuai dengan nilai angka. |
STRING | Enum | Sesuai dengan nilai string. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 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. |"]]