Selects listview item with id.
select(id, addSelection)
id |
string, id of the item |
addSelection |
boolean, indicates, whenever needs not to clean previous selectiion |
Return boolean.
Description
The first argument id is the id of the item object you used when you created items. The
.items array holds all created item objects. This method will make the item selected
without triggering any events. If the item was already selected (or does not exist) the method will return false. If you
need to select a item triggering all events you shoul call .doClick method.
If you have listview defined in the following way:
You can select an item: