Table Run Based on Radio Button Value

Hi, I have a table where I have to run a query based on the radio button value.


  • if radio button value = ID, run searchID query
  • if radio button value = Name, run searchName query

how to achieve this?

You have to use an Event handler onChange to trigger the queries based on the condition you have above. The simplest non-coding way of doing this is like so:
Screenshot 2023-02-13 at 8.45.17 AM
Screenshot 2023-02-13 at 8.45.09 AM

Thank you for the help. But how can I set up the table, so it shows the data accordingly to the radio button? I presume that we have to change the expression for "data" component on the table

{{!= null?}} for the value in the table component - this way depending on which option is selected, either query will run and populate the form