Skip to content

grouprows

Group rows so they can be collapsed / expanded as a unit.

grouprows(cr1, cr2, ...)

Groups the rows in the given cell range(s) into an outline level. Grouped rows can later be collapsed or expanded by clicking the outline-level controls in the row header.

MathJet-specific (no MATLAB equivalent; matches Excel’s row-grouping feature).

grouprows(A2:A10) % group rows 2-10