Captions: Array of PP.Ui.ListCaption;
The Captions property contains array of titles.
Use JSON or the setCaptions method to set the property value and the getCaptions method to get the property value.
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: