Widgets
Samples
Forum
Support
Documentation
/
Suite 7.0
destructor
disableSelection
edit
editItem
enableSelection
getFocus
getFocusIndex
getFocusItem
paint
setFocus
setFocusIndex
Start
List
List API
Methods
setFocus
sets focus to an item by its id
void
setFocus
(
string|number
id
);
Parameters
id
string|number
the id of an item
Example
list.
setFocus
(
"item_id"
)
;
Related samples
List. Set Active Index
See also
Articles
Work with List
Change log
added in v6.3
Back to top