Enum GroupControlTogglePosition
群組控制項切換按鈕位置
列舉代表群組控制切換鈕可能有的選項。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
SpreadsheetApp.GroupControlTogglePosition.BEFORE
。
屬性
屬性 | 類型 | 說明 |
BEFORE | Enum | 控制切換鈕位於群組之前的位置 (索引較低)。 |
AFTER | Enum | 控制切換鈕在群組後方的位址 (較高的索引)。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-02 (世界標準時間)。
[null,null,["上次更新時間:2024-12-02 (世界標準時間)。"],[[["`GroupControlTogglePosition` determines where the toggle control appears for grouped rows or columns in a spreadsheet."],["It offers two options: `BEFORE` to place the toggle before the group and `AFTER` to place it after."],["You can access these options using `SpreadsheetApp.GroupControlTogglePosition.BEFORE` or `SpreadsheetApp.GroupControlTogglePosition.AFTER` within your Apps Script code."]]],["`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"]]