Finds and returns item with input focus.
getFocus([returnIndex])
returnIndex |
boolean, if true returns index in the items array (optional) |
Returns object or integer or null.
Description
The optional argument returnIndex indicates if you want the item or its index in the
.items array.
If you have listview defined in the following way:
You can get an focused item: