Skip to content

Simple Tree View - Focus

Learn how to focus Tree View items.

Focus a specific item

You can use the the apiRef.focusItem method to focus a specific item. This methods receives two parameters: event and itemId.


See the documentation below for a complete reference to all of the props and classes available to the components mentioned here.