Énumération représentant les positions possibles d'un bouton d'activation/de désactivation d'un groupe.
Pour appeler un énumération, vous devez appeler sa classe parente, son nom et sa propriété. Par exemple, SpreadsheetApp.GroupControlTogglePosition.BEFORE.
Propriétés
Propriété
Type
Description
BEFORE
Enum
Position de l'option de commande avant le groupe (à des indices inférieurs).
AFTER
Enum
Position de l'option de contrôle après le groupe (à des indices plus élevés).
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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,["GroupControlTogglePosition\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\nProperties\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). |"]]