setFocus

sets focus to an item by its id

void setFocus(string|number id);

Parameters

idstring|numberthe id of an item

Example

list.setFocus("item_id");

Related samples

See also
Change log

added in v6.3

Back to top