getFocus()
returns the id of an item in focus
getFocus(): string | number;
Returns:
A string, or number with the id of an item in focus.
Example
dataview.getFocus(); // -> "item_id"
Change log:
added in v6.3
returns the id of an item in focus
A string, or number with the id of an item in focus.
Example
dataview.getFocus(); // -> "item_id"
added in v6.3