ListCaptions.getFirstVisibleIndex

Syntax

getFirstVisibleIndex();

Description

The getFirstVisibleIndex method returns index of the first visible title.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

// Get tree titles
caps = Tree.getCaptions();
// Get index of the first visible title
caps.getFirstVisibleIndex();

After executing the example index of the first visible title is obtained.

See also:

ListCaptions