Call Handsontable Instance on parent help?

Tags: #<Tag:0x00007efc64f1eb10>

I created a ref on my child component with the React useRef hook on my handsontable , so i want to know how i can access that handsontable instance on parent component?

Hi @almeida.tiago1996

Here’s a general guide how to refer to the Handsontable instance in React.

https://handsontable.com/docs/react-hot-reference/

Are you doing it this way? If not, can you please share the code demo?

i need to get access to the hottable data on parent to execute a function with that data

We don’t have an official support for such a solution. However, you can try to do this is by passing a function to the parent component that will behave as a callback. The method needs to receive the information that the child needs to pass to the parent as arguments.