Enum GroupControlTogglePosition
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
กลุ่มควบคุมสลับตำแหน่ง
การแจกแจงค่าที่แสดงตำแหน่งที่เป็นไปได้ของปุ่มเปิด/ปิดการควบคุมกลุ่ม
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
SpreadsheetApp.GroupControlTogglePosition.BEFORE
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
BEFORE | Enum | ตําแหน่งที่ปุ่มเปิด/ปิดการควบคุมอยู่ก่อนกลุ่ม (ที่ดัชนีที่ต่ำกว่า) |
AFTER | Enum | ตำแหน่งที่ปุ่มเปิด/ปิดการควบคุมอยู่หลังกลุ่ม (ที่ดัชนีที่สูงกว่า) |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003eGroupControlTogglePosition\u003c/code\u003e determines where the toggle control appears for grouped rows or columns in a spreadsheet.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two options: \u003ccode\u003eBEFORE\u003c/code\u003e to place the toggle before the group and \u003ccode\u003eAFTER\u003c/code\u003e to place it after.\u003c/p\u003e\n"],["\u003cp\u003eYou can access these options using \u003ccode\u003eSpreadsheetApp.GroupControlTogglePosition.BEFORE\u003c/code\u003e or \u003ccode\u003eSpreadsheetApp.GroupControlTogglePosition.AFTER\u003c/code\u003e within your Apps Script code.\u003c/p\u003e\n"]]],["`GroupControlTogglePosition` is an enumeration with two properties: `BEFORE` and `AFTER`. `BEFORE` signifies the control toggle is positioned before the group, corresponding to lower indices. `AFTER` indicates the control toggle is after the group, aligning with higher indices. To access these properties, use the format `SpreadsheetApp.GroupControlTogglePosition.PROPERTY_NAME`, replacing `PROPERTY_NAME` with either `BEFORE` or `AFTER`. This describes where the user will see the control toggle relative to the group.\n"],null,["# Enum GroupControlTogglePosition\n\nGroupControlTogglePosition\n\nAn enumeration representing the possible positions that a group control toggle can have.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.GroupControlTogglePosition.BEFORE`. \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------|-------------------------------------------------------------------------------|\n| `BEFORE` | `Enum` | The position where the control toggle is before the group (at lower indices). |\n| `AFTER` | `Enum` | The position where the control toggle is after the group (at higher indices). |"]]