How would you open a specific tab (e.g. default to tab1) on event, e.g. on:click or on SC data success?

Hey all,

I’m sure this is a simple one! I can’t find an option within Wappler UI that would allow me to do this, it doesn’t mean it doesn’t exist - I just can’t see it.

I have a repeat table on the left, and a data detail on the right, each time a button is clicked in a repeat it displays that rows data. Within the data detail on the right I have a tab/tab content setup.

The problem is, if I select one tab, then I select another row in the table, that tab remains selecte and the data incorrect - as by default I only load data on:click of the table row for tab no.1. Ideally I’d like to when a new row is selected, default the tab selection to tab1.

Any ideas?

You can make use of static click event on the clickable items in table on the left.
This should help:

1 Like

Thank you Sid, this is perfect.