Table of Contents

ExcelFile.CollapseOutlineNodeCol Method

Use this method to collapse a node of the outline. If the column is not a node (IsOutlineNodeCol is false) this method does nothing. While this method allows a better control of the columns expanded and collapsed, you will normally use CollapseOutlineCols(Int32, TCollapseChildrenMode) to collapse or expand all columns in a sheet.

Syntax

Namespace: FlexCel.Core

public abstract 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.

See also