IsExpanded

Description

Tests whether a node in a TreeView report with the specified TreeView level and that includes the specified row is expanded.

Syntax

IsExpanded(long row, long level)

Argument

Description

row

The number of the row that belongs to the node

level

The TreeView level of the node

Returns

Returns true if the group is expanded and false otherwise.

Usage

A TreeView report has several TreeView level bands that can be expanded and collapsed. You can use the IsExpanded function to test whether or not a node in a TreeView report is expanded.

Examples

Example 1

This expression returns true if the node that contains row 3 at TreeView level 2 is expanded:

IsExpanded(3,2)