Set search field of a table from Javascript

My use case is the need to enter a page that has a large table on it normally. Selecting a row in that table cause a detail table to be updated. All that works. There is another vector into that page, and that is coming from a different page where the user selects a row in a table that should open the first mentioned page, with a search set to a storedValue.

I can pass the storedValue into the new page, I can query the DB with the storedValue and only return a subset of the results. But, I would like the user to know that the table is only showing results for that subset and if they want to see everything they can delete the search.

Is there a way to set the value that shows in the search box on a table from Javascript?

Thanks.

Hey @jvestal! Welcome to Appsmith community :slight_smile:
You can use the store value to set the Default Search Text property of the table widget.
Screenshot 2022-08-11 at 1.56.06 PM

Thanks. Sorry was an idiot and didn’t look for the easy path.