95
Views
2
Comments
Solved
Reactive Button Group
Application Type
Reactive

Hi All, 

Greetings!!

I'm working on a reactive web application. There am using Button group items where I need to filter the list based on the values I passed via variable.

My question is how could I pass the values field using Reg. Ex or any other way to get my expected result.

For ex., list the users who are from other countries. So Im doing this

There is no issue when matching the result with "US"

I'd like to know how can I select the remaining countries by clicking "Overseas"????

2023-06-20 09-31-39
NU
Solution

Thanks, @Puja Rani nailed it.

UserImage.jpg
Puja Rani

Hi ,

Your button group will have a local variable which hold the current selected button group. In your Overseas button group item add value as eg. ALL. Then, in your aggregate which you used for listing you can add filter condition like below and refresh the aggregate On button change.. using this if you select Overseas , then it displays list of ALL remaining except US.

If(Var ="ALL" , True and SampleData.Office <> "US", SampleData.Office = Var)

2023-06-20 09-31-39
NU
Solution

Thanks, @Puja Rani nailed it.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.