remove(item);
item. PP.Ui.ListCaption | Number. Title or index.
The remove method removes the specified title.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Get tree titles caps = Tree.getCaptions(); // Remove second title caps.remove(1);
After executing the example the second title is removed.
See also: