I have two tables populated by two different queries and want to reset them back to default when a Reset button is clicked, removing the data as if as like after a page refresh. I feel like I'm missing something here. Isn't there a simple way to do this?
Hi @toddat, welcome to the forum!
How does 'default' look compared to when they are populated?
Hey @toddat - Try using the .reset() function on your query. In my case, I have a table populated with the results from my "exploreResults" db query, and when a clear button is clicked, I trigger "exploreResults.reset()".
The documentation suggests the function is actually called .queryReset(), but that doesn't seem to exist. The Query object | Retool Docs
2 Likes
Great! Thank you that worked. i didn't think to run the .reset() on the query.