Search plugin in React

Tags: #<Tag:0x00007fa9962f98f0>


I’m using Handsontable with React and I’m trying to implement search plugin.
I pass query string to query() method as it’s said in docs, but all I get is an error.

I didn’t see any similar examples for React in docs. Maybe you could help me with that issue?

Please see demo below:

Hi @anna

we recommend using getPlugin and you need to get the reference to the Handsontable instance to run any method outside the instance settings. Here’s the tutorial on how to get the reference to the instance in React

Thanks Alexandra!

It helped!

Great :slight_smile:

I keep my fingers crossed for further progress.