getId()
returns the id of a selected item
getId(): (string | number) | (string | number)[];
Returns:
The id of a selected item or an array with items' ids.
Example
const id = component.selection.getId(); // -> "2"
returns the id of a selected item
The id of a selected item or an array with items' ids.
Example
const id = component.selection.getId(); // -> "2"