Run query only when changed tab = something

hi is this the best way ?

i havea event for each of my tab onchange, so i just run a specific query when is tab = 1 for example, is that ok? for perfomance?

Hey @agaitan026! I'd probably put all the logic in a JS query.

For example,

  1. Add *one* event handler to run on Change and trigger a JS query
  2. In this JS query, you can have logic like:
if (tabs.value == 'Datos') {
} else if (tabs.value == 'Tele') {
} else if...

Would something like that work for you? :slight_smile:

Let me know!