TExcelFile.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(Integer, TCollapseChildrenMode) to collapse or expand all rows in a sheet.
Syntax
Unit: FlexCel.Core
procedure TExcelFile.CollapseOutlineNodeRow(const row: Integer; const collapse: Boolean); virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | row | Integer | Row to expand or collapse (1 based) |
const | collapse | Boolean | If true, the node will be collapsed, else it will be expanded. |