focusItem()
sets focus to a specified tree item
focusItem(id: Id): void;
Parameters:
id: string | number
- the id of an item
Example
tree.focusItem("1");
sets focus to a specified tree item
id: string | number
- the id of an itemExample
tree.focusItem("1");