30
Views
1
Comments
Solved
[OutSystems UI] Dropdown filters
outsystems-ui
Reactive icon
Forge asset by OutSystems

Hi Community,

                 How to Filter the Product List by using dropdown,I want to filter the price from low to high, high to low, name ascending, names descending.

I attache my oml file just go through thi file,

Please Guided me to complete the Task

products.oml
2026-01-28 16-57-48
Mihai Melencu
Champion
Solution

Hi @Thimmisetty surendrababu ,

First, create a local variable to store the selected sorting option. Use this variable in your aggregate by selecting “Add Dynamic Sort”.

Next, set this same variable as the Variable for your dropdown widget. For the dropdown options, create a Data Action that builds a list of records (with Label and Value fields) using ListAppend. 

In this action you will create the list of action using list append.

In the OnChange event of the dropdown, refresh the aggregate to apply the selected sort. 

Finally, make sure to set a value for the “Empty Text” property of the dropdown.

You can check the updated OML for reference.

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