Phone API Reference - UI Classes (Widgets) - List - selected
Phone API Reference - UI Classes (Widgets) - List - selected
selected
Description
Returns the currently selected row number or set the row you wish to be selected.
Basic Example:Â
listObj.select(2);
listObj.selected; //returns 2
Note: setting the selected property is the same as using the List.select() method.
Â