TXlsFile.CollapseOutlineNodeRow Method
Use this method to collapse a node of the outline. If the row is not a node (TExcelFile.IsOutlineNodeRow is false) this method does nothing.
While this method allows a better control of the rows expanded and collapsed, you will normally use TExcelFile.CollapseOutlineRows(Integer, TCollapseChildrenMode) to collapse or expand all rows in a sheet.
Syntax
Unit: FlexCel.XlsAdapter
procedure TXlsFile.CollapseOutlineNodeRow(const row: Integer; const collapse: Boolean); override;
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. |
See also