XlsFile.CollapseOutlineNodeCol Method
Use this method to collapse a node of the outline. If the column is not a node (ExcelFile.IsOutlineNodeCol is false) this method does nothing. While this method allows a better control of the columns expanded and collapsed, you will normally use ExcelFile.CollapseOutlineCols(Int32, TCollapseChildrenMode) to collapse or expand all columns in a sheet.
Syntax
Namespace: FlexCel.XlsAdapter
public override void CollapseOutlineNodeCol(Int32 col, Boolean collapse)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
col | Int32 | Column to expand or collapse. (1 based) | |
collapse | Boolean | If true, the node will be collapsed, else it will be expanded. |