Share this page

# Collapse Method (ITreeViewTable)

Collapses an expandable node in a tree table. This method has multiple overloads.

In this topic:

## Collapse Method (Int32)

Collapses an expandable node in a tree table.

C# Syntax

    void Collapse(
       int index
    )

Parameters

index
  The 0-based index of the node or row to collapse.

## Collapse Method (String)

Collapses an expandable node in a tree table.

C# Syntax

    void Collapse(
       string nodePath
    )

Parameters

nodePath

The full path of the node to collapse within the tree table.

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: