Skip to main content

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