Hi,
I have a tulip table widget that is showing records. We need to have the ability to dynamically switch between showing records with/out and all comments. This functionality should be within the app itself. I was wondering if anyone had any ideas on the best way to proceed?
Xavier
Welcome to the community @xavier.henes !
Here is one way to accomplish it. First, let’s say we have a simple table like this:
If I understand you correctly, you’d like to have a way to filter so that you can “Show only comments”, “Show no comments” and “Show all”.
For this, I have two variables: “contains filter” and “does not contain filter”.
And we’ll build an app that looks simple, like this:
Now we can add the following filters on the table:
Here is the logic on each of the buttons:
And here is the working application:
Does this help?
1 Like
Hi @freedman thank you so much for the suggestion. It was exactly what I was looking for.
Best,
Xavier