ListCaptions.getVisibleCaptions

Syntax

getVisibleCaptions();

Description

The getVisibleCaptions method returns array 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 visible titles
caps.getVisibleCaptions();
// -> [PP.Ui.ListCaption, PP.Ui.ListCaption]

After executing the example all visible titles are obtained.

See also:

ListCaptions