Skip to main content

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");