collapses matching row group(s)
| rowId | number|array | optional, a row ID or a range of row IDs: [start, end] |
| page | string | optional, a page name |
$$("ssheet").closeRowGroup();
Attempts to prioritize valid groups at the highest available level (the most nested).
If the rowId parameter isn't specified, the method collapses the group for the selected row(s).