Conditional data table component

Hi any chance to have two data for table component?

For example on table load i have a data from a query. Then if i click a button to change the data loaded with a query 2?

Thank you

Hello you can do the following

{{ variable1.value === 'show query 1' ? : }}


1 Like

And the button config how have to be?

the event handler need to set the variable value, you can toggle with
{{ variable1.value === true ? false : true }}

if the variable value is true then set the variable value to false, else set it to true

change the logic with your needs