Enum GroupControlTogglePosition
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
GruppeSteuerungUmschaltenPosition
Eine Aufzählung der möglichen Positionen, die ein Ein-/Aus-Schalter für eine Gruppensteuerung haben kann.
Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel:
SpreadsheetApp.GroupControlTogglePosition.BEFORE
.
Attribute
Attribut | Typ | Beschreibung |
BEFORE | Enum | Die Position, an der sich die Ein-/Aus-Schaltfläche vor der Gruppe befindet (bei niedrigeren Indizes). |
AFTER | Enum | Die Position, an der sich die Ein/Aus-Schaltfläche nach der Gruppe befindet (bei höheren Indizes). |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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). |"]]