Search plugin in React

Tags: #<Tag:0x00007f8b23d14380>

Hi!

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 https://handsontable.com/docs/7.4.2/frameworks-wrapper-for-react-hot-reference.html

Thanks Alexandra!

It helped!

Great :slight_smile:

I keep my fingers crossed for further progress.