Need query trigger on tabbed container change

Cross posted in the "how to" area

You know how selection dropdowns have that handy option where you can designate which query to run when you select something? Like this...
image

I need to have that same thing for switching tabs instead of switching a selection in a dropdown. It's sadly missing:

  1. I'd like to request this as a feature (doing that here)
  2. I need a workaround for now (while y'all add that feature for some later date). If you have a suggestion for that, help me out here: How can I trigger a query on tabbed container change?

Thanks!

Hey there! There is another feature request here: http://community.retool.com/t/run-query-on-container-tab-select-option/3986 that includes some temporary workaround options as well!

1 Like

You can now add an event handler on the Tabbed container to run a query when switching tabs! Also, if you only want to run it for specific tabs, you can add an "only run when" condition.

1 Like