Suppose I want to set a failure and expand for line 2 to 4 as one group and from 8 to 12 of the second group. This means that when the user wants to click on the icon of the +group of group 1, lines from 2 to 4 should be visible, and for group 2 from 8 to 12. Bellow is the code for one line.
$sheet->getRowDimension(1)->setOutlineLevel(1);
$sheet->getRowDimension(1)->setVisible(false);
$sheet->getRowDimension(1)->setCollapsed(true);
And another question: can we define an extension icon, not an icon +? sort of
source
share