is a low-level construct that represents an open group of cells in a notebook.
represents a cell group that is open or closed according to the value of status.
represents a cell group with cells at positions i1, i2, … open.
- Cell groups are typically opened and closed by double‐clicking their cell brackets or opener icons.
- status may take the value of Closed or Open. False and True may also be used.
- CellGroupData[cells,Dynamic[status]] will reset the value of status when the cell group is interactively opened or closed. It will open or close the cell group when the value of status is set.
- When cells are entered into a notebook, they are automatically placed in groups unless CellGrouping->Manual is set.
Basic Examples (4)
Create a notebook that has automatic cell grouping:
NotebookRead shows the CellGroupData structure:
Create a document with manually grouped cells:
Create a group with only the second cell open:
Wolfram Research (1996), CellGroupData, Wolfram Language function, https://reference.wolfram.com/language/ref/CellGroupData.html (updated 2007).
Wolfram Language. 1996. "CellGroupData." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/CellGroupData.html.
Wolfram Language. (1996). CellGroupData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CellGroupData.html