ListCaptions.Captions

Syntax

Captions: Array of PP.Ui.ListCaption;

Description

The Captions property contains array of titles.

Comments

Use JSON or the setCaptions method to set the property value and the getCaptions method to get the property value.

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 first title
cap = caps.getCaptions()[0];
// ->  PP.Ui.ListCaption {_Content: "First", _Reduction: 0, _MinWidth: 20, _Percent: null, _Resizable: true…}

After executing the example, the console displays first title object.

See also:

ListCaptions