getId()
returns the id of a selected item
getId(): string | string[];
Returns:
The id of a selected item.
Example
const id = component.selection.getId(); // -> "2"
returns the id of a selected item
The id of a selected item.
Example
const id = component.selection.getId(); // -> "2"