ListCaptions.getVisibleCaptionsCount

Syntax

getVisibleCaptionsCount();

Description

The getVisibleCaptionsCount method returns the number of visible titles.

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 number of visible titles
caps.getVisibleCaptionsCount();

After executing the example the number of visible title is obtained.

See also:

ListCaptions