Enum ColumnType
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คอลัมน์ประเภท
การแจกแจงประเภทข้อมูลที่ถูกต้องสำหรับคอลัมน์ใน DataTable
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
Charts.ColumnType.DATE
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
DATE | Enum | สอดคล้องกับค่าวันที่ |
NUMBER | Enum | สอดคล้องกับค่าตัวเลข |
STRING | Enum | สอดคล้องกับค่าสตริง |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]