Phone API Reference - UI Classes (Widgets) - List - select
Phone API Reference - UI Classes (Widgets) - List - select
select
Description
Selects the specified row.
Basic Example:Â
listObj.select(row);
the first row is row zero.
Â
Parameters
Name | Required | Type | Default | Description |
---|---|---|---|---|
row | Yes | integer | Â | Row number of the cell. |
Â
Examples
select row 14 of a list widget
var list = new List(50, 50, 200, 200);
list.setProp('rows', 30)
    .setProp('cellFunc', function () { return 'This is a row!'; });
list.select(14); |