Skip to content
+

Rich 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.

Press Enter to start editing

API

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