Enum GroupControlTogglePosition
组控件切换位置
一个枚举,表示组控件切换开关可能的状态。
如需调用枚举,您可以调用其父类、名称和属性。例如
SpreadsheetApp.GroupControlTogglePosition.BEFORE
。
属性
属性 | 类型 | 说明 |
BEFORE | Enum | 控件切换开关位于组之前的位置(索引较低)。 |
AFTER | Enum | 控件切换开关位于组后面的位置(在较高的编号处)。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-02。
[null,null,["最后更新时间 (UTC):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"]]