Enum GroupControlTogglePosition
Stay organized with collections
Save and categorize content based on your preferences.
GroupControlTogglePosition
An enumeration representing the possible positions that a group control toggle can have.
To call an enum, you call its parent class, name, and property. For example,
SpreadsheetApp.GroupControlTogglePosition.BEFORE
.
Properties
Property | Type | Description |
BEFORE | Enum | The position where the control toggle is before the group (at lower indices). |
AFTER | Enum | The position where the control toggle is after the group (at higher indices). |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 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). |"]]