ExcelFile.CollapseOutlineNodeRow Method
Use this method to collapse a node of the outline. If the row is not a node (IsOutlineNodeRow is false) this method does nothing. While this method allows a better control of the rows expanded and collapsed, you will normally use CollapseOutlineRows(Int32, TCollapseChildrenMode) to collapse or expand all rows in a sheet.
Syntax
Namespace: FlexCel.Core
public abstract void CollapseOutlineNodeRow(Int32 row, Boolean collapse)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
row | Int32 | Row to expand or collapse (1 based) | |
collapse | Boolean | If true, the node will be collapsed, else it will be expanded. |