-
See Also
- AllowReverseGroupClose
- CellGrouping
-
- Menu Items
- Grouping
-
-
See Also
- AllowReverseGroupClose
- CellGrouping
-
- Menu Items
- Grouping
-
See Also
is an option for Cell that specifies whether a cell group can be closed normally.
AllowGroupClose
is an option for Cell that specifies whether a cell group can be closed normally.
Details
- Closing a group collapses all cells in the group so that only the head cell is visible.
- AllowGroupClose should be set in the head cell of the cell group.
- With the default setting AllowGroupClose->Automatic, any cell group can be closed normally.
Examples
Basic Examples (2)
Create a notebook where any cell group can be closed normally:
CreateDocument[{Cell["heading", "Section", AllowGroupClose -> Automatic], Cell["text", "Text"], Cell[BoxData[RowBox[{"1", "+", "1"}]], "Input"], Cell[BoxData["2"], "Output"]}];The cell group can be closed normally:
Create a notebook where the "heading" cell group cannot be closed:
CreateDocument[{Cell["heading", "Section", AllowGroupClose -> False], Cell["text", "Text"], Cell[BoxData[RowBox[{"1", "+", "1"}]], "Input"], Cell[BoxData["2"], "Output"]}];History
Text
Wolfram Research (2010), AllowGroupClose, Wolfram Language function, https://reference.wolfram.com/language/ref/AllowGroupClose.html.
CMS
Wolfram Language. 2010. "AllowGroupClose." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AllowGroupClose.html.
APA
Wolfram Language. (2010). AllowGroupClose. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AllowGroupClose.html
BibTeX
@misc{reference.wolfram_2026_allowgroupclose, author="Wolfram Research", title="{AllowGroupClose}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/AllowGroupClose.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_allowgroupclose, organization={Wolfram Research}, title={AllowGroupClose}, year={2010}, url={https://reference.wolfram.com/language/ref/AllowGroupClose.html}, note=[Accessed: 13-June-2026]}