App - Tables and applying logic to output

Are you using our SaaS platform (Baserow.io) or self-hosting Baserow?

Self-hosted

What do you need help with?

Hey folks! Fairly new user with Baserow but loving it. I’m used to AirTable and “converting” currently. One thing I ran into that I wanted to ask about is when building an app and using tables for output.

I’m looking to apply logic in the tables with “if/then” logic. So for example, an inventory report. It has fields such as single select field with “yes/no” options. I only want to display a specific line in the table if that option = yes and can’t figure out if there’s somewhere to invoke that logic?

Thanks!

As far as I undetand your request there are different approaches:

a) filter within the “Data Source” that you’ve set up for that page. For the user of the app this will not be available to change so the data will not be loaded

b) offer the option to filter the table. The user will the a “Filter”-button and is able to filter the data upon the fields that you’ve actived to be filtered (in the application builder).

Hi @pstewart, welcome to the Baserow community!

I think @be_Berlin is on the right path here - your best bet, if you want to conditionally show/hide a database table row in your application table, is to apply a filter in the data source.

While we do have the ability to conditionally hide/show elements based on formula, if you want one or more rows to toggle, then that would need to happen at the data source level.

Cheers,

Peter Evans