AllowGroupClose

AllowGroupClose
is an option for Cell that specifies whether a cell group can be closed normally.

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Create a notebook where any cell group can be closed normally:

The cell group can be closed normally:

Create a notebook where the "heading" cell group cannot be closed:

Now the "heading" cell group cannot be closed:

New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »